New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
部署遇到问题@a@ #3
Comments
请问该怎么解决呀QAQ |
有装VS么?装了的话勾上C++开发环境。 |
手贱点到了close issue,8好意思😂 |
感谢,运行成功了!装了三个win10 sdk和生成工具,不需要手动装node-gyp我却折腾半天各种踩坑从下午八点弄到现在( |
记录一下 |
PS C:\Users\ljy77\3D Objects\Yagt> yarn
yarn install v1.15.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.4: The platform "win32" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
info idb-connector@1.1.8: The platform "win32" is incompatible with this module.
info "idb-connector@1.1.8" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/5] ⠐ electron-vibrancy
[2/5] ⠐ ref
[3/5] ⠐ electron
[4/5] ⠈ electron-chromedriver
error C:\Users\ljy77\3D Objects\Yagt\node_modules\electron-vibrancy: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: C:\Users\ljy77\3D Objects\Yagt\node_modules\electron-vibrancy
Output:
C:\Users\ljy77\3D Objects\Yagt\node_modules\electron-vibrancy>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.15.3 | win32 | x64
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\ljy77\AppData\Local\Programs\Python\Python37\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12)
gyp ERR! stack at ChildProcess.emit (events.js:189:13)
gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\ljy77\3D Objects\Yagt\node_modules\electron-vibrancy
说是这句 import sys; print "%s.%s.%s" % sys.version_info[:3]; 语法错误
The text was updated successfully, but these errors were encountered: