butter-desktop-angular icon indicating copy to clipboard operation
butter-desktop-angular copied to clipboard

couldn't build butter-desktop-angular

Open mehdi-alouane opened this issue 10 years ago • 7 comments

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!     /home/black-swan/project/butter-desktop-angular/npm-debug.log

mehdi-alouane avatar Oct 26 '15 02:10 mehdi-alouane

What system do you use ?

hadim avatar Oct 26 '15 08:10 hadim

ubuntu 14.04

mehdi-alouane avatar Oct 26 '15 17:10 mehdi-alouane

Please try again following theses instructions : https://github.com/butterproject/butter-desktop-angular#quickstart and tell me

hadim avatar Oct 26 '15 17:10 hadim

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 [email protected] 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! [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!     /home/black-swan/project/butter-desktop-angular/npm-debug.log

mehdi-alouane avatar Oct 26 '15 17:10 mehdi-alouane

Well I don't know what's happend here... Need to wait someone comes here and help :-(

hadim avatar Oct 26 '15 17:10 hadim

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.

atilacamurca avatar Oct 27 '15 22:10 atilacamurca

I can still build Butter, but the view is fully messed up and I can't browse the app.

z11h avatar Apr 02 '16 18:04 z11h