I tried to create a read only token using my credentials as described in https://docs.npmjs.com/creating-and-viewing-authentication-tokens using
npm create token --read-only
however I get the below error:
C:\Users>npm token create
npm password:
npm ERR! code E401
npm ERR! Unable to authenticate, your authentication token seems to be invalid.
npm ERR! To correct this please trying logging in again with:
npm ERR! npm login
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AppData\Roaming\npm-cache\_logs\2020-05-08T08_31_38_739Z-debug.log
Could you please suggest the feasible steps to generate NPM token.
npm ERR! code E401
npm ERR! Unable to authenticate, your authentication token seems to be invalid.
npm ERR! To correct this please trying logging in again with:
npm ERR! npm login
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/98031102-0684-4127-98d6-6dd8ce83df21%40glists.sonatype.com.