Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

couldn't build butter-desktop-angular #27

Open
mehdi-alouane opened this issue Oct 26, 2015 · 7 comments
Open

couldn't build butter-desktop-angular #27

mehdi-alouane opened this issue Oct 26, 2015 · 7 comments
Labels
Milestone

Comments

@mehdi-alouane
Copy link

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 mehdi-alouane changed the title couldn't build Butter couldn't build butter-desktop-angular Oct 26, 2015
@hadim
Copy link
Contributor

hadim commented Oct 26, 2015

What system do you use ?

@hadim hadim closed this as completed in 72dbdcb Oct 26, 2015
@hadim hadim reopened this Oct 26, 2015
@hadim hadim modified the milestone: 0.4 Oct 26, 2015
@hadim hadim added the bug label Oct 26, 2015
@mehdi-alouane
Copy link
Author

ubuntu 14.04

@hadim
Copy link
Contributor

hadim commented Oct 26, 2015

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

@mehdi-alouane
Copy link
Author

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

@hadim
Copy link
Contributor

hadim commented Oct 26, 2015

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

@atilacamurca
Copy link

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.

@z11h
Copy link
Contributor

z11h commented Apr 2, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants