You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.
Join groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Trying to publish a private package under organisation scope, trying to get help on publish a private package in org scope using pipeline.
.npmrc :
scope:registry=http://registry.npmjs.org/
scripts:
npm_url : https://registry.npmjs.org/@scopename/ [registry.npmjs.org] but it is not actually picking it.
script:
- pipe: atlassian/npm-publish:0.2.0
variables:
NPM_REGISTRY_URL: $NPM_URL
NPM_TOKEN: $NPM_TOKEN
DEBUG: 'true'
ERROR:
Previously was having 403 error.
INFO: Registry URL: https://registry.npmjs.org
INFO: Setting npm auth configuration...
DEBUG: ~/.npmrc file: //registry.npmjs.org/:_authToken=******
registry=https://registry.npmjs.org
INFO: Publishing package...
npm publish .
.
.
.
.
npm notice
npm ERR! publish Failed PUT 403
npm ERR! code E403
npm ERR! Forbidden : @scope/package
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-04-30T22_23_37_528Z-debug.log
✖ Failed to publish package
Hi everyone, We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events