它建议我运行sudo apt-get -f install,但出现错误。

发布于 2018-05-14 19:36:38
如果你想在ubuntu中安装Node.js。你可以查看Node installation on ubuntu
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get update
sudo apt-get install npm
sudo npm install npm --globalhttps://stackoverflow.com/questions/50329224
复制相似问题