auto icon indicating copy to clipboard operation
auto copied to clipboard

auto canary fails after upgrading to Node 16 NPM 8

Open surbhirverma opened this issue 3 years ago • 1 comments

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

  1. Changed node version to 16.x
       with:
         node-version: '16'
  1. Run npx auto canary --pr ${{ env.PR_NUMBER }} on github worklfow

Expected behavior

Should create a canary build in artifactory

Screenshots

image image

Environment information:

node v16
npm v8

Additional context

  • npx auto canary --pr ${{ env.PR_NUMBER }} --dry-run works 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

surbhirverma avatar Aug 15 '22 23:08 surbhirverma

Could this issue be because of npm publish https://github.com/npm/cli/issues/2453#issuecomment-1031257849 ?

surbhirverma avatar Aug 15 '22 23:08 surbhirverma