npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed
输入以下命令
sudo apt-get install nodejs-dev node-gyp libssl1.0-dev
然后
sudo apt-get install npm
输入以下命令
sudo apt-get install nodejs-dev node-gyp libssl1.0-dev
然后
sudo apt-get install npm