안녕하세요 저는 우분투에 노드 v4.2.6과 npm 3.5.2를 설치했습니다.하지만 최신 버전이나 node6.x를 설치하려고하면 터미널에 오류가 발생합니다. 패키지 404를 찾을 수 없습니다. 나는 또한 스크린 샷을 첨부했다. 어떻게 해결할 수 있는지 알려주세요.우분투에 node8과 최신 npm을 설치하는 방법
나는 또한 시도 : -
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
# Then install with:
sudo apt-get install -y nodejs
여전히 같은 결과를 얻었다 그리고 내가 명령을 실행하여 하나의 실수를 추측 : -
https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/
에서 언급 한 바와 같이
sudo sed -i -e 's/:\/\/(archive.ubuntu.com\|security.ubuntu.com)/old-releases.ubuntu.com/g' /etc/apt/sources.list
Here is the output of sudo apt-get update
:) –