instagram-bot-api
instagram-bot-api copied to clipboard
getting error from node app.js
npm WARN deprecated [email protected]: To update or install node, go to http://nodejs.org/ npm WARN engine [email protected]: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"0.12.4","npm":"2.10.1"})
[email protected] install /Users/lantos/node_modules/app.js/node_modules/jsdom/node_modules/contextify node-gyp rebuild
gyp ERR! build error gyp ERR! stack Error: not found: make gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:72:28) gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:75:29) gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:83:16 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:95:15) gyp ERR! System Darwin 12.5.0 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" ERR! cwd /Users/lantos/node_modules/app.js/node_modules/jsdom/node_modules/contextify gyp ERR! node -v v0.12.4 gyp ERR! node-gyp -v v1.0.3 gyp ERR! not ok npm ERR! Darwin 12.5.0 npm ERR! argv "node" "/usr/local/bin/npm" "install" "node" "app.js" npm ERR! node v0.12.4 npm ERR! npm v2.10.1 npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify 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 contextify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /Users/lantos/npm-debug.log
try to update your node.
in Unix:
sudo npm cache clean -f && sudo npm install -g n && sudo n stable
@Naramsim Thanks mate
in windows git bash..?
i got same error.. npm WARN package.json [email protected] No license field.
[email protected] install C:\NewSource\content-collection\node_modules\bufferutil node-gyp rebuild
C:\NewSource\content-collection\node_modules\bufferutil>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 (rebuild)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11
gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\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! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the bufferutil 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 bufferutil
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! C:\NewSource\content-collection\npm-debug.log
stack Error: Can't find Python executable "python", you can set the PYTHON env variable install python and add it to the path
Thanks @Naramsim