You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
npm is producing incorrect or undesirable behavior.
Other (see below for feature requests):
What's going wrong?
I try to install mern-cli globally by running sudo npm install -g mern-cli. npm produces an Unhandled rejection Error and states npm ERR! cb() never called!
If I don't use sudo when using the global switch I get EACCES: permission denied and it suggests running as root/admin even thought it is not recommended.
Please try a downgrade to npm 5 to see if this solves the issue.
If I don't use sudo when using the global switch I get EACCES: permission denied and it suggests running as root/admin even thought it is not recommended.
This means that you have probably installed npm with sudo which should not have happened in the first place.
I'm opening this issue because:
What's going wrong?
I try to install mern-cli globally by running
sudo npm install -g mern-cli
. npm produces anUnhandled rejection Error
and statesnpm ERR! cb() never called!
How can the CLI team reproduce the problem?
Run
sudo npm install -g mern-cli
.Gist
supporting information:
npm -v
prints: 6.1.0node -v
prints: v10.6.0npm config get registry
prints: https://registry.npmjs.org/The text was updated successfully, but these errors were encountered: