Closed ZalemCitizen closed 6 years ago
Ok, that was a npm version problem. I had to add repository :
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
(see http://doc.ubuntu-fr.org/nodejs ) The install could go further but fails after :
npm WARN install Couldn't install optional dependency: Unsupported
npm WARN install Couldn't install optional dependency: Unsupported
npm ERR! Linux 3.2.0-91-virtual
npm ERR! argv "node" "/usr/bin/npm" "install"
npm ERR! node v0.12.7
npm ERR! npm v3.3.5
npm ERR! Cannot read property 'localeCompare' of undefined
Maybe another version problem
New try after updating node.js through npm New error
npm WARN install Couldn't install optional dependency: Unsupported
npm WARN install Couldn't install optional dependency: Unsupported
npm ERR! Linux 3.2.0-91-virtual
npm ERR! argv "/usr/local/bin/node" "/usr/bin/npm" "install"
npm ERR! node v4.0.0
npm ERR! npm v3.3.5
npm ERR! Cannot read property 'localeCompare' of undefined
Did you really test install on bare Ubuntu 12.04 ? : p
Yes I am very sure :P
i have these problem too.
Yeah, doesn't work on basically any distro including newer ones. Always ends up with errors because the install processes uses 2-4 year old dependencies.
npm install command fails with :
username was replaced by
I found this ticket with same error (related to raspberry pi though) https://bugs.launchpad.net/raspbian/+bug/1480668