EyalAr / lwip

Light Weight Image Processor for NodeJS
MIT License
2.37k stars 231 forks source link

Error occurred upon installation #288

Open ibrahim-amer opened 7 years ago

ibrahim-amer commented 7 years ago

I got this error when I was trying to install lwip. Here is the command window's result: ====Executing command 'npm install lwip --save '====

npm WARN package.json node.image-processing.poc@0.0.0 No repository field. npm WARN package.json node.image-processing.poc@0.0.0 No license field. npm WARN deprecated lodash-node@2.4.1: This package is discontinued. Use lodash@^4.0.0.

lwip@0.0.9 install C:\Node.ImageProcessing.POC\Node.ImageProcessing.POC\node_modules\lwip node-gyp rebuild C:\Node.ImageProcessing.POC\Node.ImageProcessing.POC\node_modules\lwip>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 ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Node.ImageProcessing.POC\Node.ImageProcessing.POC\node_modules\lwip\build\lwip_decoder.vcxproj]

TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Node.ImageProcessing.POC\Node.ImageProcessing.POC\node_modules\lwip\build\lwip_encoder.vcxproj]

TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Node.ImageProcessing.POC\Node.ImageProcessing.POC\node_modules\lwip\build\lwip_image.vcxproj]

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:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276: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 10.0.10240 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:\Node.ImageProcessing.POC\Node.ImageProcessing.POC\node_modules\lwip gyp ERR! node -v v4.6.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm ERR! Windows_NT 10.0.10240 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "lwip" "--save" npm ERR! node v4.6.0 npm ERR! npm v2.15.9 npm ERR! code ELIFECYCLE npm ERR! lwip@0.0.9 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the lwip@0.0.9 install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the lwip 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 lwip npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls lwip npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! C:\Node.ImageProcessing.POC\Node.ImageProcessing.POC\npm-debug.log

====npm command completed with exit code 1====

chrisgyl commented 7 years ago

+1

Deligher commented 7 years ago

+1

gjsjy commented 7 years ago

+1

EduardoHillebrand commented 7 years ago

+1