Categories
JavaScript Answers

How to fix install Node npm package fails with 404?

Spread the love

To fix install Node npm package fails with 404, we set the npm registry.

For instance, we run

npm config set registry http://registry.npmjs.org

to run npm config set registry to set the package registry URL to the default npm registry URL.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *