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
Interesting - we throw this error when the npm registry returns HTTP 401 or 403 (Forbidden / Unauthorized). The undefined is whatever a subsequent call to the /-/whoami returns (your token username, usually).
I'm not sure we can do better, unless you can log the exact return from the API (you can do that by running yarn set version from sources --no-minify then adding console.log statement in the httpUtils module; would be nice to make a switch making that easier).
Describe the user story
I wanted to publish a package on npm via
yarn npm publish
and I got the error:Actually it's because I haven't changed the version of my package... a better message saves time:
This request is not very important but would bring a better user experience. 🙂
Thank you for the work you're doing.
The text was updated successfully, but these errors were encountered: