W3cubDocs

/npm

If your npm is broken

Reinstall npm.

If you're on Windows and you have a broken installation, the easiest thing to do is to reinstall node from the official installer (see this note about installing the latest stable version).

© npm, Inc. and Contributors
Licensed under the npm License.
npm is a trademark of npm, Inc.
https://docs.npmjs.com/troubleshooting/if-your-npm-is-broken