Development Environment Nodejs / npm / Cordova in Linux Mint

-1

At the moment I'm using Linux Mint 18.2 KDE and I need to install the cordo development environment, since I'm doing a course of it. However it has been more than two weeks that I am facing a very annoying problem with the download of the cord via npm vide image below. src="https://i.stack.imgur.com/h8eDR.jpg">

IhavealreadybeeninformedthatthisproblemmayhavetodowiththeversionofNodejsandconsequentlywiththeversionofnpm.ButI'malsonewtothelinuxworldandtheonlyversionsIcouldinstallwerethosethatfollowintheimage.

I'vealreadyinstalledNodeJsfollowing this tutorial and I also installed with the simple sudo apt-get install nodejs and the versions remain the same.

It is worth noting that also not being able to install other packages with npm, the errors are always similar.

    
asked by anonymous 27.07.2017 / 01:38

1 answer

0

First we will try to update the packages of the system to see if there is an update either for NodeJS or for NPM. Open the terminal and type:

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

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

npm config set proxy
    
27.07.2017 / 14:01