rebuild node-pty failed
See original GitHub issueWhen I run command as follows in node-pty(win10 system), nothing wrong: “C:\Program Files\nodejs\node.exe” “C:\Users\admin\Desktop\Project\MyProject\node_modules\node-gyp\bin\node-gyp.js” “rebuild”, but electron-rebuild node-pty failed.
node: 8.11.2 node-gyp: 3.6.2 electron: 2.0.16 electron-rebuild:1.8.2 node-pty:0.8.0 VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.cpp\v4.0\v140 msvs_version=2015 python2.7
Error message:
winpty-agent.vcxproj -> C:\Users\admin\Desktop\Project\MyProject\node_modules\node-pty\build\Release\winpty-agent.exe
winpty-agent.vcxproj -> C:\Users\admin\Desktop\Project\MyProject\node_modules\node-pty\build\Release\winpty-agent.pdb (Full PDB)
gyp ERR! build error
gyp ERR! stack Error: msbuild
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\admin\Desktop\Project\MyProject\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Users\admin\Desktop\Project\MyProject\node_modules\node-gyp\bin\node-gyp.js” “rebuild” “–target=2.0.16” “–arch=x64” “–dist-url=https://atom.io/download/electron” “–build-from-source”
gyp ERR! cwd C:\Users\admin\Desktop\Project\MyProject\node_modules\node-pty
gyp ERR! node -v v8.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Failed with exit code: 1 at SafeSubscriber._error (C:\Users\admin\Desktop\Project\MyProject\node_modules\spawn-rx\lib\src\index.js:277:84) at SafeSubscriber.__tryOrUnsub (C:\Users\admin\Desktop\Project\MyProject\node_modules\rxjs\Subscriber.js:242:16) at SafeSubscriber.error (C:\Users\admin\Desktop\Project\MyProject\node_modules\rxjs\Subscriber.js:201:26) at Subscriber._error (C:\Users\admin\Desktop\Project\MyProject\node_modules\rxjs\Subscriber.js:132:26) at Subscriber.error (C:\Users\admin\Desktop\Project\MyProject\node_modules\rxjs\Subscriber.js:106:18) at MapSubscriber.Subscriber._error (C:\Users\admin\Desktop\Project\MyProject\node_modules\rxjs\Subscriber.js:132:26) at MapSubscriber.Subscriber.error (C:\Users\admin\Desktop\Project\MyProject\node_modules\rxjs\Subscriber.js:106:18) at SafeSubscriber._next (C:\Users\admin\Desktop\Project\MyProject\node_modules\spawn-rx\lib\src\index.js:251:65) at SafeSubscriber.__tryOrSetError (C:\Users\admin\Desktop\Project\MyProject\node_modules\rxjs\Subscriber.js:251:16) at SafeSubscriber.next (C:\Users\admin\Desktop\Project\MyProject\node_modules\rxjs\Subscriber.js:191:27)
What happened?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8
Top GitHub Comments
@gaograce Did you resolve this issue? I have encountered it too.
+1