Skip to content

Instantly share code, notes, and snippets.

@Robbilie
Created December 11, 2016 18:28
Show Gist options
  • Save Robbilie/0f5f861adb510ee79ee7382dcc2d5d87 to your computer and use it in GitHub Desktop.
Save Robbilie/0f5f861adb510ee79ee7382dcc2d5d87 to your computer and use it in GitHub Desktop.
rschuh@crux:~$ npm install wrtc-full
> wrtc-full@0.0.67 install /home/rschuh/node_modules/wrtc-full
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://node-webrtc-full.s3.amazonaws.com/wrtc/v0.0.67/Release/node-v48-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for wrtc-full@0.0.67 and node@6.9.1 (node-v48 ABI) (falling back to source compile with node-gyp)
make: Entering directory '/home/rschuh/node_modules/wrtc-full/build'
ACTION Downloading WebRTC libraries and headers third_party/webrtc
> wrtc-full@0.0.67 download-webrtc-libraries-and-headers /home/rschuh/node_modules/wrtc-full
> node scripts/download-webrtc-libraries-and-headers.js
Attempting to download WebRTC libraries and headers for platform "linux" and architecture "x64" from
https://s3.eu-central-1.amazonaws.com/webrtc-prebuilts/v1/build/webrtcbuilds-14726-764e364-mac-x64.zip
{ HTTPError: Response code 403 (Forbidden)
at EventEmitter.ee.on.res (/home/rschuh/node_modules/got/index.js:188:24)
at emitOne (events.js:96:13)
at EventEmitter.emit (events.js:188:7)
at Immediate.setImmediate (/home/rschuh/node_modules/got/index.js:69:8)
at runCallback (timers.js:637:20)
at tryOnImmediate (timers.js:610:5)
at processImmediate [as _immediateCallback] (timers.js:582:5)
message: 'Response code 403 (Forbidden)',
host: 's3.eu-central-1.amazonaws.com',
hostname: 's3.eu-central-1.amazonaws.com',
method: 'GET',
path: '/webrtc-prebuilts/v1/build/webrtcbuilds-14726-764e364-mac-x64.zip',
statusCode: 403,
statusMessage: 'Forbidden',
bufferedData: <Buffer > }
npm ERR! Linux 4.8.0-1-amd64
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "download-webrtc-libraries-and-headers"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! wrtc-full@0.0.67 download-webrtc-libraries-and-headers: `node scripts/download-webrtc-libraries-and-headers.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wrtc-full@0.0.67 download-webrtc-libraries-and-headers script 'node scripts/download-webrtc-libraries-and-headers.js'.
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 wrtc-full package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/download-webrtc-libraries-and-headers.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs wrtc-full
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls wrtc-full
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! Please include the following file with any support request:
npm ERR! /home/rschuh/node_modules/wrtc-full/npm-debug.log
action_before_build.target.mk:13: recipe for target 'third_party/webrtc' failed
make: *** [third_party/webrtc] Error 1
make: Leaving directory '/home/rschuh/node_modules/wrtc-full/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.8.0-1-amd64
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/rschuh/node_modules/wrtc-full/build/wrtc/v0.0.67/Release/node-v48-linux-x64/wrtc.node" "--module_name=wrtc" "--module_path=/home/rschuh/node_modules/wrtc-full/build/wrtc/v0.0.67/Release/node-v48-linux-x64"
gyp ERR! cwd /home/rschuh/node_modules/wrtc-full
gyp ERR! node -v v6.9.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/rschuh/node_modules/wrtc-full/build/wrtc/v0.0.67/Release/node-v48-linux-x64/wrtc.node --module_name=wrtc --module_path=/home/rschuh/node_modules/wrtc-full/build/wrtc/v0.0.67/Release/node-v48-linux-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/rschuh/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:877:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System Linux 4.8.0-1-amd64
node-pre-gyp ERR! command "/usr/bin/nodejs" "/home/rschuh/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/rschuh/node_modules/wrtc-full
node-pre-gyp ERR! node -v v6.9.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.32
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/rschuh/node_modules/wrtc-full/build/wrtc/v0.0.67/Release/node-v48-linux-x64/wrtc.node --module_name=wrtc --module_path=/home/rschuh/node_modules/wrtc-full/build/wrtc/v0.0.67/Release/node-v48-linux-x64' (1)
npm WARN enoent ENOENT: no such file or directory, open '/home/rschuh/package.json'
npm WARN rschuh No description
npm WARN rschuh No repository field.
npm WARN rschuh No README data
npm WARN rschuh No license field.
npm ERR! Linux 4.8.0-1-amd64
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "wrtc-full"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! wrtc-full@0.0.67 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wrtc-full@0.0.67 install script 'node-pre-gyp install --fallback-to-build'.
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 wrtc-full 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 information on how to open an issue for this project with:
npm ERR! npm bugs wrtc-full
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls wrtc-full
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/rschuh/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment