Skip to content

Instantly share code, notes, and snippets.

@timsuchanek
Created April 21, 2015 14:25
Show Gist options
  • Save timsuchanek/d0613bcf91607d9c8b0a to your computer and use it in GitHub Desktop.
Save timsuchanek/d0613bcf91607d9c8b0a to your computer and use it in GitHub Desktop.
node-pre-gyp fail
> node-pre-gyp install --fallback-to-build
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 404 status code downloading tarball
gyp ERR! stack at Request.<anonymous> (/home/pi/serverless-webrtc/node_modules/wrtc/node_modules/node-gyp/lib/install.js:246:14)
gyp ERR! stack at emitOne (events.js:82:20)
gyp ERR! stack at Request.emit (events.js:166:7)
gyp ERR! stack at Request.onRequestResponse (/home/pi/serverless-webrtc/node_modules/wrtc/node_modules/node-gyp/node_modules/request/request.js:1156:10)
gyp ERR! stack at emitOne (events.js:77:13)
gyp ERR! stack at ClientRequest.emit (events.js:166:7)
gyp ERR! stack at HTTPParser.parserOnIncomingClient (_http_client.js:410:21)
gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)
gyp ERR! stack at Socket.socketOnData (_http_client.js:300:20)
gyp ERR! stack at emitOne (events.js:77:13)
gyp ERR! System Linux 3.18.7+
gyp ERR! command "/usr/local/bin/iojs" "/home/pi/serverless-webrtc/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/pi/serverless-webrtc/node_modules/wrtc/build/wrtc/v0.0.55/Release/node-v43-linux-arm/wrtc.node" "--module_name=wrtc" "--module_path=/home/pi/serverless-webrtc/node_modules/wrtc/build/wrtc/v0.0.55/Release/node-v43-linux-arm"
gyp ERR! cwd /home/pi/serverless-webrtc/node_modules/wrtc
gyp ERR! node -v v1.7.1
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/iojs /home/pi/serverless-webrtc/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/serverless-webrtc/node_modules/wrtc/build/wrtc/v0.0.55/Release/node-v43-linux-arm/wrtc.node --module_name=wrtc --module_path=/home/pi/serverless-webrtc/node_modules/wrtc/build/wrtc/v0.0.55/Release/node-v43-linux-arm' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/serverless-webrtc/node_modules/wrtc/node_modules/node-pre-gyp/lib/util/compile.js:73:29)
node-pre-gyp ERR! stack at emitTwo (events.js:87:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:169:7)
node-pre-gyp ERR! stack at maybeClose (child_process.js:953:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1022:5)
node-pre-gyp ERR! System Linux 3.18.7+
node-pre-gyp ERR! command "/usr/local/bin/iojs" "/home/pi/serverless-webrtc/node_modules/wrtc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/serverless-webrtc/node_modules/wrtc
node-pre-gyp ERR! node -v v1.7.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.4
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/iojs /home/pi/serverless-webrtc/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/serverless-webrtc/node_modules/wrtc/build/wrtc/v0.0.55/Release/node-v43-linux-arm/wrtc.node --module_name=wrtc --module_path=/home/pi/serverless-webrtc/node_modules/wrtc/build/wrtc/v0.0.55/Release/node-v43-linux-arm' (1)
npm ERR! Linux 3.18.7+
npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "install"
npm ERR! node v1.7.1
npm ERR! npm v2.7.6
npm ERR! code ELIFECYCLE
npm ERR! wrtc@0.0.55 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wrtc@0.0.55 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the wrtc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR! npm owner ls wrtc
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/serverless-webrtc/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment