Skip to content

Instantly share code, notes, and snippets.

@byronhulcher
Created April 29, 2015 20:37
Show Gist options
  • Save byronhulcher/4e2df5c57294a6857832 to your computer and use it in GitHub Desktop.
Save byronhulcher/4e2df5c57294a6857832 to your computer and use it in GitHub Desktop.
Error running 'npm run rebuild-leveldb`
dhcpb53:friends byron$ npm run rebuild-leveldb
> friends@1.0.0 rebuild-leveldb /Users/byron/scratch/friends
> cd node_modules/leveldown && HOME=~/.electron-gyp node-gyp rebuild --target=0.25.1 --arch=x64 --dist-url=https://atom.io/download/atom-shell
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 403 status code downloading tarball
gyp ERR! stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/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 (/usr/local/lib/node_modules/npm/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:412:21)
gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)
gyp ERR! stack at Socket.socketOnData (_http_client.js:302:20)
gyp ERR! stack at emitOne (events.js:77:13)
gyp ERR! System Darwin 13.4.0
gyp ERR! command "/usr/local/bin/iojs" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--target=0.25.1" "--arch=x64" "--dist-url=https://atom.io/download/atom-shell"
gyp ERR! cwd /Users/byron/scratch/friends/node_modules/leveldown
gyp ERR! node -v v1.8.1
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Darwin 13.4.0
npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "run" "rebuild-leveldb"
npm ERR! node v1.8.1
npm ERR! npm v2.8.3
npm ERR! code ELIFECYCLE
npm ERR! friends@1.0.0 rebuild-leveldb: `cd node_modules/leveldown && HOME=~/.electron-gyp node-gyp rebuild --target=0.25.1 --arch=x64 --dist-url=https://atom.io/download/atom-shell`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the friends@1.0.0 rebuild-leveldb script 'cd node_modules/leveldown && HOME=~/.electron-gyp node-gyp rebuild --target=0.25.1 --arch=x64 --dist-url=https://atom.io/download/atom-shell'.
npm ERR! This is most likely a problem with the friends package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd node_modules/leveldown && HOME=~/.electron-gyp node-gyp rebuild --target=0.25.1 --arch=x64 --dist-url=https://atom.io/download/atom-shell
npm ERR! You can get their info via:
npm ERR! npm owner ls friends
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/byron/scratch/friends/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/iojs',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'rebuild-leveldb' ]
2 info using npm@2.8.3
3 info using node@v1.8.1
4 verbose run-script [ 'prerebuild-leveldb',
4 verbose run-script 'rebuild-leveldb',
4 verbose run-script 'postrebuild-leveldb' ]
5 info prerebuild-leveldb friends@1.0.0
6 info rebuild-leveldb friends@1.0.0
7 verbose unsafe-perm in lifecycle true
8 info friends@1.0.0 Failed to exec rebuild-leveldb script
9 verbose stack Error: friends@1.0.0 rebuild-leveldb: `cd node_modules/leveldown && HOME=~/.electron-gyp node-gyp rebuild --target=0.25.1 --arch=x64 --dist-url=https://atom.io/download/atom-shell`
9 verbose stack Exit status 1
9 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:169:7)
9 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:169:7)
9 verbose stack at maybeClose (child_process.js:953:16)
9 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1020:5)
10 verbose pkgid friends@1.0.0
11 verbose cwd /Users/byron/scratch/friends
12 error Darwin 13.4.0
13 error argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "run" "rebuild-leveldb"
14 error node v1.8.1
15 error npm v2.8.3
16 error code ELIFECYCLE
17 error friends@1.0.0 rebuild-leveldb: `cd node_modules/leveldown && HOME=~/.electron-gyp node-gyp rebuild --target=0.25.1 --arch=x64 --dist-url=https://atom.io/download/atom-shell`
17 error Exit status 1
18 error Failed at the friends@1.0.0 rebuild-leveldb script 'cd node_modules/leveldown && HOME=~/.electron-gyp node-gyp rebuild --target=0.25.1 --arch=x64 --dist-url=https://atom.io/download/atom-shell'.
18 error This is most likely a problem with the friends package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error cd node_modules/leveldown && HOME=~/.electron-gyp node-gyp rebuild --target=0.25.1 --arch=x64 --dist-url=https://atom.io/download/atom-shell
18 error You can get their info via:
18 error npm owner ls friends
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment