Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto canary fails after upgrading to Node 16 NPM 8 #2247

Open
surbhirverma opened this issue Aug 15, 2022 · 1 comment
Open

auto canary fails after upgrading to Node 16 NPM 8 #2247

surbhirverma opened this issue Aug 15, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@surbhirverma
Copy link

surbhirverma commented Aug 15, 2022

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 surbhirverma added the bug Something isn't working label Aug 15, 2022
@surbhirverma
Copy link
Author

surbhirverma commented Aug 15, 2022

Could this issue be because of npm publish npm/cli#2453 (comment) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant