koush / electron-chrome

Other
970 stars 68 forks source link

npm install fails on Ubuntu 16.04 #24

Closed autonomousapps closed 7 years ago

autonomousapps commented 7 years ago

I installed npm with sudo apt-get install npm. I then ran the command: npm install in the electron-chrome directory. It failed, and suggested I include this log in a bug report: npm-debug.txt

Note: Github wouldn't let me upload it with the .log extension, so I changed it to .txt.

I assume the error has to do with apt installing an older version of npm. Since this is outside my domain, could you suggest how to install a newer version?

MTRNord commented 7 years ago

Try to follow this install guide on nodejs. it installs the newest nodejs and npm version https://nodejs.org/en/download/package-manager/

autonomousapps commented 7 years ago

Works perfectly! Thanks.