我知道有很多关于节点js安装的问题和解决方案,但是我仍然会问这个问题,因为没有解决方案对我有效,而且我需要解决这个问题。
我在StackOverflow上尝试过许多解决方案,但我仍然无法安装节点js版本14.18.0和NPM6.14.15。
这是我尝试过的选项之一,但是它说它找不到版本。
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:chris-lea/node.js-legacy
sudo apt-get update
apt install nodejs=14.18.0-1chl1~precise1
如果有可行的解决方案,请分享。
发布于 2022-11-18 16:21:21
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
https://stackoverflow.com/questions/71689177
复制相似问题