distributions
distributions copied to clipboard
[ERROR] Node.js 20 on Ubuntu20.04 Installation fail
Describe your bug
gpg: can't create '/etc/apt/keyrings/nodesource.gpg': No such file or directory
gpg: no valid OpenPGP data found.
gpg: dearmoring failed: No such file or directory
(23) Failed writing body
Distribution Information:
- OS: Ubuntu
- Version focal (20.04)
Node Version:
- Node: Node.js v20.x
To Reproduce
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
Hi @raspberring try to use the following installation script
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs