distributions icon indicating copy to clipboard operation
distributions copied to clipboard

[ERROR] Node.js 20 on Ubuntu20.04 Installation fail

Open raspberring opened this issue 1 year ago • 1 comments

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

raspberring avatar Mar 22 '24 13:03 raspberring

Hi @raspberring try to use the following installation script

curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs

riosje avatar Mar 26 '24 13:03 riosje