Saturday, 15 April 2017

error while rebuild pcap module. how to fix this:gyp ERR! build error

gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\Environment\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:285:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:194:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Windows_NT 10.0.10586 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Environment\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Environment\AppData\Roaming\npm\node_modules\pcap\node_modules\socketwatcher gyp ERR! node -v v7.8.0 gyp ERR! node-gyp -v v3.6.0 gyp ERR! not ok C:\Users\Environment\AppData\Roaming\npm `-- (empty)

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! socketwatcher@0.2.1 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the socketwatcher@0.2.1 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the socketwatcher package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs socketwatcher npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls socketwatcher npm ERR! There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Environment\AppData\Roaming\npm-cache_logs\2017-04-15T12_16_08_136Z-debug.log

this error in my cmd how can i fix this?



via EnvironmentSet

No comments:

Post a Comment