LMSouq
general-dev Open

How to update npm

US
user3567174
1 month ago
3 views
Problem Description
I'm trying to install mean.io boilerplate. It fails when running `sudo npm install -g meanio@latest`. Prior to failing it notes that it 'wants' npm version 1.4.x, whereas I have 1.2.18 installed. So I tried updating npm to the latest; several ways. Last of which was... ubuntu@ip-xxx-xx-xx-xxx:~$ sudo npm install -g npm /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js npm@1.4.7 /usr/local/lib/node_modules/npm ubuntu@ip-xxx-xx-xx-xxx:~$ npm --version 1.2.18 Why is it still showing version 1.2.18, when I just updated to 1.4.7?

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base