Skip to content

Instantly share code, notes, and snippets.

@johnhaley81
Created May 10, 2016 15:44
Show Gist options
  • Save johnhaley81/e9365df0d0505e2a30168ab5336df918 to your computer and use it in GitHub Desktop.
Save johnhaley81/e9365df0d0505e2a30168ab5336df918 to your computer and use it in GitHub Desktop.
Installing atom-keymap for electron version 0.37.8
johnhosx :: ~/Development/GitKraken ‹feature/update-electron-0.37.8› » npm install atom-keymap@atom/atom-keymap#master 1 ↵
> runas@3.1.1 install /Users/johnh/Development/GitKraken/node_modules/runas
> node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: Invalid version number: ^0.37.8
gyp ERR! stack at getNodeDir (/Users/johnh/.nvm/versions/node/v5.9.1/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:69:25)
gyp ERR! stack at /Users/johnh/.nvm/versions/node/v5.9.1/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:41:7
gyp ERR! stack at /Users/johnh/.nvm/versions/node/v5.9.1/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:393:9
gyp ERR! stack at ChildProcess.exithandler (child_process.js:193:7)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at maybeClose (internal/child_process.js:850:16)
gyp ERR! stack at Socket.<anonymous> (internal/child_process.js:323:11)
gyp ERR! stack at emitOne (events.js:90:13)
gyp ERR! stack at Socket.emit (events.js:182:7)
gyp ERR! System Darwin 15.4.0
gyp ERR! command "/Users/johnh/.nvm/versions/node/v5.9.1/bin/node" "/Users/johnh/.nvm/versions/node/v5.9.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/johnh/Development/GitKraken/node_modules/runas
gyp ERR! node -v v5.9.1
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm ERR! Darwin 15.4.0
npm ERR! argv "/Users/johnh/.nvm/versions/node/v5.9.1/bin/node" "/Users/johnh/.nvm/versions/node/v5.9.1/bin/npm" "install" "atom-keymap@atom/atom-keymap#master"
npm ERR! node v5.9.1
npm ERR! npm v3.8.2
npm ERR! code ELIFECYCLE
npm ERR! runas@3.1.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the runas@3.1.1 install script 'node-gyp rebuild'.
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 runas 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 information on how to open an issue for this project with:
npm ERR! npm bugs runas
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls runas
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/johnh/Development/GitKraken/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment