Closed vuquangchien closed 10 years ago
I got the following error when trying to install your package using npm install face-detect --save
npm install face-detect --save
$ npm install face-detect --save npm WARN package.json detect-face@0.0.0 No description npm WARN package.json detect-face@0.0.0 No repository field. npm WARN package.json detect-face@0.0.0 No README data npm http GET https://registry.npmjs.org/face-detect npm http 200 https://registry.npmjs.org/face-detect npm http GET https://registry.npmjs.org/face-detect/-/face-detect-0.0.1.tgz npm http 200 https://registry.npmjs.org/face-detect/-/face-detect-0.0.1.tgz npm http GET https://registry.npmjs.org/canvas npm http 200 https://registry.npmjs.org/canvas npm http GET https://registry.npmjs.org/canvas/-/canvas-1.1.3.tgz npm http 200 https://registry.npmjs.org/canvas/-/canvas-1.1.3.tgz npm http GET https://registry.npmjs.org/nan npm http 200 https://registry.npmjs.org/nan npm http GET https://registry.npmjs.org/nan/-/nan-0.4.4.tgz npm http 200 https://registry.npmjs.org/nan/-/nan-0.4.4.tgz > canvas@1.1.3 install c:\Users\Vu Quang Chien\Desktop\detect-face\node_modules\ face-detect\node_modules\canvas > node-gyp rebuild c:\Users\Vu Quang Chien\Desktop\detect-face\node_modules\face-detect\node_module s\canvas>node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\ node_modules\node-gyp\bin\node-gyp.js" rebuild gyp http GET http://nodejs.org/dist/v0.10.25/node-v0.10.25.tar.gz gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: getaddrinfo ENOTFOUND gyp ERR! stack at errnoException (dns.js:37:11) gyp ERR! stack at Object.onanswer [as oncomplete] (dns.js:124:16) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "node" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modu les\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd c:\Users\Vu Quang Chien\Desktop\detect-face\node_modules\face-detec t\node_modules\canvas gyp ERR! node -v v0.10.25 gyp ERR! node-gyp -v v0.12.2 gyp ERR! not ok npm ERR! canvas@1.1.3 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the canvas@1.1.3 install script. npm ERR! This is most likely a problem with the canvas 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 their info via: npm ERR! npm owner ls canvas npm ERR! There is likely additional logging output above. npm ERR! System Windows_NT 6.1.7601 npm ERR! command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodej s\\node_modules\\npm\\bin\\npm-cli.js" "install" "face-detect" "--save" npm ERR! cwd c:\Users\Vu Quang Chien\Desktop\detect-face npm ERR! node -v v0.10.25 npm ERR! npm -v 1.3.24 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! c:\Users\Vu Quang Chien\Desktop\detect-face\npm-debug.log npm ERR! not ok code 0
please advise. Many thanks.
My bad, it's the problem with canvas, not face-detect. Please close the issue
I got the following error when trying to install your package using
npm install face-detect --save
please advise. Many thanks.