【问题标题】:unable to install the latest nodejs无法安装最新的nodejs
【发布时间】:2022-01-22 12:14:53
【问题描述】:

我尝试了很多方法,通过 nvm 等。nodejs 顽固地停留在已经过时的 v10,我该怎么办?

Err:12 http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu focal Release             
  404  Not Found [IP: 2001:67c:1560:8008::19 80]
Err:13 https://deb.nodesource.com/node_8.x focal Release
  404  Not Found [IP: 2001:ee0:3244::71ab:c39 443]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://deb.nodesource.com/node_8.x focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

【问题讨论】:

  • 你见过this吗?不是你的问题,而是相似的。也许能帮上忙。
  • 我会使用 nvm
  • 我确实尝试过 nvm..
  • 你使用什么平台,mac还是windows?
  • Ubuntu lts。我基本上尝试了所有明智的方法

标签: node.js vue.js npm


【解决方案1】:

我使用了nvm install --lts,它成功了

【讨论】:

    猜你喜欢
    • 2018-10-16
    • 2022-11-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-03-25
    • 1970-01-01
    相关资源
    最近更新 更多