Ich kann nicht elektronen prebuilt aktualisieren. ich ausgeführt sudo npm update electron-prebuilt -g
viele Male.Ich kann nicht Elektron mit npm aktualisieren
Aber der Zugriff verweigert Fehler auftreten jedes Mal, trotz sudo
verwenden.
Warum ich Elektron nicht erfolgreich aktualisieren kann?
iojs3.2.0, OS X 10.10.5
Hier finden Sie Fehlerprotokoll.
/usr/local/lib/node_modules/electron-prebuilt/install.js:15
throw err
^
Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/electron-prebuilt/electron-tmp-download-818-1441021602097/electron-v0.31.1-darwin-x64.zip' -> '/Users/user_name/.electron/electron-v0.31.1-darwin-x64.zip'
at Error (native)
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "install" "electron-prebuilt" "-g"
npm ERR! node v3.2.0
npm ERR! npm v2.14.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node install.js'.
npm ERR! This is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/local/lib/node_modules/npm-debug.log
elektronen prebuilt ist ein binäres Paket zu löschen. Haben Sie versucht, das Paket zu entfernen und dann neu zu installieren, statt es zu aktualisieren? –
Dies ist ein Problem mit dieser Version von io.js, glaube ich. Versuchen Sie, auf iojs-v2.5.0 herunterzustufen, um zu sehen, ob es immer noch nicht funktioniert. –