Closed rdpascua closed 8 years ago
In attempt to resolve the issue, I removed the electron cache folder
rm -rf ~/.electron
npm install electron-prebuilt --save-dev
Didn't work for me, though I got a different error after trying your suggestions:
npm i
> nslog@3.0.0 install /Users/clive/Documents/vue/my-project/node_modules/nslog
> node-gyp rebuild
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 69
gyp ERR! stack at ChildProcess.onExit (/Users/clive/.nvm/versions/node/v6.6.0/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 Darwin 15.6.0
gyp ERR! command "/Users/clive/.nvm/versions/node/v6.6.0/bin/node" "/Users/clive/.nvm/versions/node/v6.6.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/clive/Documents/vue/my-project/node_modules/nslog
gyp ERR! node -v v6.6.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
my-project@0.0.0 /Users/clive/Documents/vue/my-project
└── (empty)
npm WARN my-project@0.0.0 No repository field.
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/clive/.nvm/versions/node/v6.6.0/bin/node" "/Users/clive/.nvm/versions/node/v6.6.0/bin/npm" "i"
npm ERR! node v6.6.0
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! nslog@3.0.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nslog@3.0.0 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 nslog 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 nslog
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls nslog
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/clive/Documents/vue/my-project/npm-debug.log
npm ERR! code 1
Then I typed this (on OSX):
sudo xcodebuild -license
and tried again - success !
Fresh installation gives me this error.
UNMET PEER DEPENDENCY electron-prebuilt@>=0.35.0
UPDATE: