npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Errors after running npm -v

How do I fix this?
(base) ┌─[ghost@parrot]─[~/Desktop/my-app]
└──╼ $npm -v
internal/modules/cjs/loader.js:797
throw err;
^

Error: Cannot find module ‘…/lib/utils/unsupported.js’
Require stack:


Looks like a bad install. I suggest you uninstall if you can (depending on how you installed it), then try a fresh install.