I am struggling to release the new version of multiple packages from one repository.
I am using semantic-release, with a custom plugin to publish multiple packages from Angular monorepo.
The script creates .npmrc
file in each of the about to be published folders/packages, it even creates ~/.npmrc
, just to be sure.
.npmrc file contains: //registry.npmjs.org/:_authToken=...
One of the recent failed attempts: https://travis-ci.org/klemenoslaj/ng-action-outlet/jobs/522273495
The error:
npm ERR! code ENEEDAUTH
npm ERR! need auth auth required for publishing
npm ERR! need auth You need to authorize this machine using npm adduser