Tools, FAQ, Tutorials:
Issue to Install "npm 5.x" on Ubuntu 18
Why I can only install "npm 3.5.2" on Ubuntu 18?
✍: FYIcenter.com
If you are running Ubuntu 18,
the default "apt install npm" command
will only insatlle "npm 3.5.2:
$ sudo apt install npm ... installing the "npm" package $ sudo apt install npm Reading package lists... Done Building dependency tree Reading state information... Done npm is already the newest version (3.5.2-0ubuntu4).
This is caused by issue inside "apt".
What you can do is try to reinstall both "nodejs" and "npm":
# Complete Un-install $ sudo apt-get purge nodejs npm $ sudo apt-get autoremove $ sudo apt-get update # Fresh install $ sudo npm install -g npm $ npm --version 5.5.1 $ sudo apt install nodejs
⇒ "gyp ERR! stack Error: EACCES: permission denied"
⇐ Warning on Incompatible "npm" Version
2021-04-04, 305👍, 0💬
Popular Posts:
What is Azure API Management Gateway? Azure API Management Gateway is the Azure Web server that serv...
How to use the XML to JSON Conversion Tool at freeformatter.com? If you want to try the XML to JSON ...
How to create Hello-3.0.epub with WinRAR? I have all required files to create Hello-3.0.epub. To cre...
Where to find tutorials on how to work with MySQL Database in PHP? A collection of tutorials to answ...
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...