-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
npm install failing #304
Comments
Can you paste the error message you received And include the npm and node versions you using? I had issues with an older version of npm and node. I had to apt-get purge nodejs and installed the latest versions using nvm. I’ll add more explicit instructions later this morning. |
Here's what I see when I run test-app with an older version of NodeJS.
|
So I installed nvm (https://github.com/creationix/nvm/blob/master/README.md) and installed node from there.
This installs the latest version of node, but does not set this as the default going forward. Therefore it'll work in the current bash session but not if you open a new terminal window. Here's what I see if I open a new terminal window.
Therefore you either need to use
Let me know if you figure out a way to set the default version. |
ok, i will try this and will let you know, thanks a lot |
You can also set the default node version https://eric.blog/2016/08/23/set-default-node-version-with-nvm/ |
What is the recommended Development env Ubuntu version, node? npm?, Im using Ubuntu 14.04LTS and $ npm install is keep on failing
The text was updated successfully, but these errors were encountered: