javascript - To enable parallel build, please add the '/m' switch -
i wan run sample https://github.com/gottox/node-webterm , when executing command npm install shows error msg.
building projects in solution 1 @ time. enable parallel build, please add "/m" switch. exechelper.cpp ..\src\exechelper.cpp(3): fatal error c1083: cannot open include file: 'unistd. h': no such file or directory [v:\node-webterm-master\node_modules\child_pty\bu ild\exechelper.vcxproj] pty.cpp ..\src\pty.cpp(25): error c2027: use of undefined type 'winsize' [v:\node-webte rm-master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(22) : see declaration of 'winsize' ..\src\pty.cpp(25): error c2227: left of '->ws_row' must point class/struct/ union/generic type [v:\node-webterm-master\node_modules\child_pty\build\pty.vcx proj] ..\src\pty.cpp(26): error c2027: use of undefined type 'winsize' [v:\node-webte rm-master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(22) : see declaration of 'winsize' ..\src\pty.cpp(26): error c2227: left of '->ws_col' must point class/struct/ union/generic type [v:\node-webterm-master\node_modules\child_pty\build\pty.vcx proj] ..\src\pty.cpp(27): error c2027: use of undefined type 'winsize' [v:\node-webte rm-master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(22) : see declaration of 'winsize' ..\src\pty.cpp(27): error c2227: left of '->ws_xpixel' must point class/stru ct/union/generic type [v:\node-webterm-master\node_modules\child_pty\build\pty. vcxproj] ..\src\pty.cpp(27): error c2027: use of undefined type 'winsize' [v:\node-webte rm-master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(22) : see declaration of 'winsize' ..\src\pty.cpp(27): error c2227: left of '->ws_ypixel' must point class/stru ct/union/generic type [v:\node-webterm-master\node_modules\child_pty\build\pty. vcxproj] ..\src\pty.cpp(31): error c2027: use of undefined type 'winsize' [v:\node-webte rm-master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(22) : see declaration of 'winsize' ..\src\pty.cpp(31): error c2227: left of '->ws_col' must point class/struct/ union/generic type [v:\node-webterm-master\node_modules\child_pty\build\pty.vcx proj] ..\src\pty.cpp(33): error c2027: use of undefined type 'winsize' [v:\node-webte rm-master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(22) : see declaration of 'winsize' ..\src\pty.cpp(33): error c2227: left of '->ws_row' must point class/struct/ union/generic type [v:\node-webterm-master\node_modules\child_pty\build\pty.vcx proj] ..\src\pty.cpp(39): error c2027: use of undefined type 'winsize' [v:\node-webte rm-master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(22) : see declaration of 'winsize' ..\src\pty.cpp(39): error c2227: left of '->ws_row' must point class/struct/ union/generic type [v:\node-webterm-master\node_modules\child_pty\build\pty.vcx proj] ..\src\pty.cpp(40): error c2027: use of undefined type 'winsize' [v:\node-webte rm-master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(22) : see declaration of 'winsize' ..\src\pty.cpp(40): error c2227: left of '->ws_col' must point class/struct/ union/generic type [v:\node-webterm-master\node_modules\child_pty\build\pty.vcx proj] ..\src\pty.cpp(44): error c2079: 'w' uses undefined struct 'winsize' [v:\node-w ebterm-master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(46): error c2664: 'makews' : cannot convert parameter 1 'in t *' 'winsize *' [v:\node-webterm-master\node_modules\child_pty\build\pty.vc xproj] types pointed unrelated; conversion requires reinterpret_cast, c-style cast or function-style cast ..\src\pty.cpp(48): error c2065: 'tiocswinsz' : undeclared identifier [v:\node- webterm-master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(48): error c3861: 'ioctl': identifier not found [v:\node-webterm -master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(50): error c2664: 'applyws' : cannot convert parameter 1 'i nt *' 'winsize *' [v:\node-webterm-master\node_modules\child_pty\build\pty.v cxproj] types pointed unrelated; conversion requires reinterpret_cast, c-style cast or function-style cast ..\src\pty.cpp(55): error c2079: 'w' uses undefined struct 'winsize' [v:\node-w ebterm-master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(59): error c2664: 'makews' : cannot convert parameter 1 'in t *' 'winsize *' [v:\node-webterm-master\node_modules\child_pty\build\pty.vc xproj] types pointed unrelated; conversion requires reinterpret_cast, c-style cast or function-style cast ..\src\pty.cpp(60): error c3861: 'openpty': identifier not found [v:\node-webte rm-master\node_modules\child_pty\build\pty.vcxproj] ..\src\pty.cpp(64): error c2664: 'applyws' : cannot convert parameter 1 'i nt *' 'winsize *' [v:\node-webterm-master\node_modules\child_pty\build\pty.v cxproj] types pointed unrelated; conversion requires reinterpret_cast, c-style cast or function-style cast gyp err! build error gyp err! stack error: `c:\program files (x86)\msbuild\14.0\bin\msbuild.exe` fail ed exit code: 1 gyp err! stack @ childprocess.onexit (v:\nodejs\node_modules\npm\node_modul es\node-gyp\lib\build.js:269:23) gyp err! stack @ childprocess.emit (events.js:110:17) gyp err! stack @ process.childprocess._handle.onexit (child_process.js:1074 :12) gyp err! system windows_nt 6.2.9200 gyp err! command "node" "v:\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\ bin\\node-gyp.js" "rebuild" gyp err! cwd v:\node-webterm-master\node_modules\child_pty gyp err! node -v v0.12.4 gyp err! node-gyp -v v1.0.3 gyp err! not ok npm err! windows_nt 6.2.9200 npm err! argv "v:\\nodejs\\\\node.exe" "v:\\nodejs\\node_modules\\npm\\bin\\npm- cli.js" "install" npm err! node v0.12.4 npm err! npm v2.10.1 npm err! code elifecycle npm err! child_pty@0.5.1 install: `node-gyp rebuild` npm err! exit status 1 npm err! npm err! failed @ child_pty@0.5.1 install script 'node-gyp rebuild'. npm err! problem child_pty package, npm err! not npm itself. npm err! tell author fails on system: npm err! node-gyp rebuild npm err! can info via: npm err! npm owner ls child_pty npm err! there additional logging output above. npm err! please include following file support request: npm err! v:\node-webterm-master\npm-debug.log - i have installed python 2.7.3, windows 7 sdk referred https://github.com/tootallnate/node-gyp#installation. still got same error.
Comments
Post a Comment