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
I'm facing 403 issue when I executed 'npm access set status=public @justuno-lyd/hello_npm --userconfig .npmrc'
If I change to Publish token, no issues here.
Expected Behavior
Able to use automation token to update package access level
Steps To Reproduce
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc NPM_TOKEN is automation type
execute 'npm access set status=public @justuno-lyd/hello_npm --userconfig .npmrc' it works
Environment
npm: 10.5.0
Node.js: v20.12.2
OS Name: macOS Sonoma
System Model Name: macbook pro
npm config:
; "builtin" config from /opt/homebrew/Cellar/node@20/20.12.2/lib/node_modules/npm/npmrcprefix = "/opt/homebrew"; "project" config from /Users/yadong/Desktop/work/test/hello_npm/.npmrc
//registry.npmjs.org/:_authToken = (protected)
; node bin location = /opt/homebrew/Cellar/node@20/20.12.2/bin/node; node version = v20.12.2; npm local prefix = /Users/yadong/Desktop/work/test/hello_npm; npm version = 10.5.0; cwd = /Users/yadong/Desktop/work/test/hello_npm; HOME = /Users/yadong; Run `npm config ls -l` to show all defaults.; "publishConfig" from /Users/yadong/Desktop/work/test/hello_npm/package.json; This set of config values will be used at publish-time.access = "public"
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I'm facing 403 issue when I executed 'npm access set status=public @justuno-lyd/hello_npm --userconfig .npmrc'
If I change to Publish token, no issues here.
Expected Behavior
Able to use automation token to update package access level
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: