luciotato / waitfor

Sequential programming for node.js, end of callback hell / pyramid of doom
MIT License
531 stars 29 forks source link

installation issue on windows 7 #40

Closed mastermoin closed 8 years ago

mastermoin commented 8 years ago

i am getting this error

gyp ERR! build error gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Windows_NT 6.1.7600 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" " --release" gyp ERR! cwd E:\RND\node\API\node_modules\wait.for\node_modules\fibers gyp ERR! node -v v4.2.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok Build failed 'nodejs' is not recognized as an internal or external command, operable program or batch file. npm ERR! Windows_NT 6.1.7600 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "wait.for" npm ERR! node v4.2.1 npm ERR! npm v2.14.7 npm ERR! code ELIFECYCLE

npm ERR! fibers@1.0.8 install: node build.js || nodejs build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the fibers@1.0.8 install script 'node build.js || nodejs build.js'. npm ERR! This is most likely a problem with the fibers package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node build.js || nodejs build.js npm ERR! You can get their info via: npm ERR! npm owner ls fibers npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! E:\RND\node\API\npm-debug.log

luciotato commented 8 years ago

Check this: https://github.com/luciotato/waitfor/issues/39 Fibers is tricky to compile on windows. You can try to fix that o switch to Wait.for-ES6 https://github.com/luciotato/waitfor-ES6