Error when I try to install npm on Ubuntu 17.04

user8348552

I'm trying to install npm on Ubuntu 17.04 but I'm not getting it. I've installed nodejs and nodejs-legacy and when I try to install npm, a message appears saying that npm depends on node-gyp (>= 0.10.9) and won't be installed. If a try to install node-gyp, another dependency appears and successively. Does anybody know how to fix it?

JWang

I suggest you don't use apt-install to install npm.You can download the bin file from official site.(https://nodejs.org/en/)

Just extract the tar file and setup the path to you system,you can get the latest version!

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

I get an error when I try to install my project packages with npm i

zlib error when I try to install node packeges

React App: Why I get an error when I try to run npm start script?

NPM crashes when I try to install packages from package.json

I get and error when I try to do pip install

I get the following errors when I try to install the Ubuntu SDK (ubuntu app development kit)

Error: When I try to install any package

Error I get when I try install IDE Anjuta

Why I obtain these error messages when I try to install gem bundler on Ubuntu? (Could not create Makefile)

Why I obtain these error messages when I try to install gem bundler on Ubuntu? (Could not create Makefile)

Display error when i try to composer install

I get this error when I try to install

When I try to install vscode, snapd shows error code 400

gettting this error when i try to run eclipse in ubuntu please help

When I try to install Pycharm or Atom through Ubuntu software centre, I get the error: snapd returned status code 400: Bad Request

Why I obtain these error messages when I try to install gem bundler on Ubuntu? (Could not create Makefile)

"Unable to locate package" when I try to install squirrelmail on Ubuntu 18.04

When I try to install a .deb file it takes me to Ubuntu Software Center and doesn't install

NGINX is giving error when i try to install

Error When I try to use NPM install package.json file

when I try to install by npm it frezzes in this step exactly

Why I get error when I try to install pyaudio?

Error when I try install a C kernel for jupyter

Error when I try to install Dlib with pip. macOS

why does npm gives me warning when i try to install jquery-csv library using VS in ubuntu

Issue when I try to execute npm install

When I try to run the npm in the terminal, it showing the error

Why am I getting an error when trying to install and run npm?

npm throwing error whenever i try to install some new npm package