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

E401 errors when publishing with scoped :_auth #129

Open
morleytatro opened this issue Nov 21, 2022 · 0 comments
Open

E401 errors when publishing with scoped :_auth #129

morleytatro opened this issue Nov 21, 2022 · 0 comments

Comments

@morleytatro
Copy link

  • What are you trying to do?
    Publish a library to Nexus

  • What feature or behavior is this required for?
    This is required for publishing with npm 9.x.

  • How could we solve this issue? (Not knowing is okay!)
    Really unsure where the root of the issue lies, as our devops team doesn't see a way to modify how it's behaving on the server-side.

  • Anything else?
    When using the following config, on publish (but not installation), we're getting E401 errors:

@figure:registry=https://nexus.figure.com/repository/npm-group/
//nexus.figure.com/:_auth=${NEXUS_NPM_TOKEN}
always-auth=true
save-exact=true

In contrast, leaving auth unscoped (which throws errors with npm 9.x), works fine:

registry=https://nexus.figure.com/repository/npm-group/
_auth=${NEXUS_NPM_TOKEN}
always-auth=true
save-exact=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant