Nodejs/npm/Cordova Development Environment on Linux Mint

Asked

Viewed 206 times

-1

I am currently using Linux Mint 18.2 KDE and I need to install the Cordova development environment as I am taking a course of it. However it has been more than two weeks that I am facing a very annoying problem with downloading Cordova via npm see image below.inserir a descrição da imagem aqui

I have been informed that this problem may have to do with the version of Nodejs and consequently with the version of npm. But I’m also new to the linux world and the only versions I could install were the ones that follow in the image.

I already installed Nodejs following this tutorial and also installed with the simple sudo apt-get install nodejs and the versions remain the same.

It is noteworthy that also failed to install other packages with npm, errors are always similar.

1 answer

0

First let’s try to update the Packages system to see if there is an update to either Nodejs or NPM. Open the terminal and type:

sudo apt-get update && sudo apt-get upgrade -y

This updates all packages on your PC. If you are using a proxy, you should set it up with:

npm config set proxy

Browser other questions tagged

You are not signed in. Login or sign up in order to post.