Open mehdi-alouane opened 8 years ago
What system do you use ?
ubuntu 14.04
Please try again following theses instructions : https://github.com/butterproject/butter-desktop-angular#quickstart and tell me
I already install the latest nodejs and npm from source , and now i try your way but the same thing happen here
Error: EACCES: permission denied, rename '/home/black-swan/project/butter-desktop-angular/node_modules/electron-prebuilt/electron-tmp-download-6030-1445880570125/electron-v0.33.6-linux-x64.zip' -> '/home/black-swan/.electron/electron-v0.33.6-linux-x64.zip'
at Error (native)
npm WARN EPACKAGEJSON Butter-Desktop@0.4.0 No license field.
npm ERR! Linux 3.14.1-031401-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.2.1
npm ERR! npm v3.3.9
npm ERR! code ELIFECYCLE
npm ERR! electron-prebuilt@0.33.6 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron-prebuilt@0.33.6 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! /home/black-swan/project/butter-desktop-angular/npm-debug.log
Well I don't know what's happend here... Need to wait someone comes here and help :-(
The error message shows that it wants to rename (actually move) the file /home/black-swan/project/butter-desktop-angular/node_modules/electron-prebuilt/electron-tmp-download-6030-1445880570125/electron-v0.33.6-linux-x64.zip
to /home/black-swan/.electron/electron-v0.33.6-linux-x64.zip
, but have no permission.
Can you please check the permission of the directory /home/black-swan/.electron
and see if you're the owner:
ls -l /home/black-swan/.electron
You have to be careful when use sudo
when installing things with npm
, sometimes you have to run the install command without it.
I can still build Butter, but the view is fully messed up and I can't browse the app.