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

Private npm registry authentication issue on yarn.lock and package.json semver mismatch #5256

Open
malliapi opened this issue Jan 20, 2018 · 3 comments

Comments

@malliapi
Copy link

Do you want to request a feature or report a bug?
BUG

What is the current behavior?
Yarn does not authenticate with the private npm registry when the package.json and yarn.lock have a semver mismatch for a spesific package.

For example:
yarn add css-hot-loader
edit package.json and remove the carrot (^) from the version
yarn install
Result: Rejected 401, Unauthenticated

OS: Linux, Ubuntu (Heroku)

@ghost ghost assigned torifat Jan 20, 2018
@ghost ghost added the triaged label Jan 20, 2018
@malliapi
Copy link
Author

malliapi commented Jan 20, 2018

I am opening this issue as the error is misleading. Yarn version 1.3.2, private npm registry: artifactory

@torifat
Copy link
Member

torifat commented Feb 12, 2018

Seems like a good candidate for getting started. Feel free to create a PR with better error message 👍

@07Gond
Copy link

07Gond commented Oct 8, 2018

Hi!
@malliapi @torifat
I just tried to replicate this error on my MacBook using Verdaccio but I couldn't.
Are there some more steps to replicate this behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants