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
We have a number of error codes in the cli and dependencies and we should make sure they are consistent when thrown so we can display them consistently.
A running list of ones I've found that need updating/discussing:
E<CMD>GLOBAL these are prefixed with the command name but maybe they should all be EGLOBAL with a standard error message
E<CMD><ARGS|SET|DELETE>: I think these could all be EUSAGE errors
ENOWORKSPACES
Not a code specifically but we throw errors for invalid config. With npm9 config we can rip all those out. See npm profile --json
The text was updated successfully, but these errors were encountered:
We have a number of error codes in the cli and dependencies and we should make sure they are consistent when thrown so we can display them consistently.
A running list of ones I've found that need updating/discussing:
E<CMD>GLOBAL
these are prefixed with the command name but maybe they should all beEGLOBAL
with a standard error messageE<CMD><ARGS|SET|DELETE>
: I think these could all beEUSAGE
errorsENOWORKSPACES
npm profile --json
The text was updated successfully, but these errors were encountered: