Unable to install npm

Hello there!
I’m trying to use sudo pacman -S npm, but when it starts to retrieve package “npm-8.19.1-1-any.pkg.tar.zst”, it prompts a “quested URL returned error: 404” for every file. How can I proceed?
(I’ve been using Linux distros for two months (three with endeavouros), and everything seems perfect so far. This is the first time I’m calling for help)

1 Like

That probably means you haven’t updated your system recently.

Try:

pacman -Syu npm

Since EndeavourOS is rolling, you need to make sure your system is updated before installing packages.

Also, Welcome to the forum!

5 Likes

It works! Thank you. 4 minutes and I was helped. I love this community.

5 Likes

Yes, @Calango_Branco it’s a great community made up of real people with real solutions.

Great achievement. I needed help when I started.

Welcome to the :enos: community.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.