Attempting to publish result in a "You must be logged in to publish packages." error

(Michael Dzjaparidze) #1

Hi there,

I am trying to publish a new version of a package to NPM, but for some reason I get a 401 with message You must be logged in to publish packages. : waveplayer all of a sudden. As far as I know I haven’t changed anything about my NPM setup, other than updating to a new minor version this morning. I do have 2FA enabled. Any help or advice would be greatly appreciated.



(Michael Dzjaparidze) #2

I was able to figure it out myself. For some reason my access token was deleted from my NPM account… Creating a new one and updating my .npmrc did the trick.

(system) #3

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.