简体   繁体   中英

unable to install the latest nodejs

I have tried many ways, via nvm etc.. nodejs stays stubbornly at v10 which is outdated, what could i do?

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.

i used nvm install --lts and it worked

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM