auto
auto copied to clipboard
auto canary fails after upgrading to Node 16 NPM 8
Describe the bug
Unable to run canary build after upgrading to npm version 8.x node version 16.x on github CI. Getting npm ERR! code ENEEDAUTH
To Reproduce
- Changed node version to 16.x
with:
node-version: '16'
- Run
npx auto canary --pr ${{ env.PR_NUMBER }}on github worklfow
Expected behavior
Should create a canary build in artifactory
Screenshots
Environment information:
node v16
npm v8
Additional context
-
npx auto canary --pr ${{ env.PR_NUMBER }} --dry-runworks fine - Seeing below error running
npx auto canary --pr ${{ env.PR_NUMBER }}
npm ERR! code ENEEDAUTH
npm ERR! need auth This command requires you to be logged in to https://artifactory.company.link.com
npm ERR! need auth You need to authorize this machine using `npm adduser`
- Probably same issue exists with
auto shipit
Could this issue be because of npm publish https://github.com/npm/cli/issues/2453#issuecomment-1031257849 ?