yarn2 Support (login)
See original GitHub issueDescribe the bug
I’m trying yarn2. While yarn npm login
works with the default registry, when I put
npmRegistryServer: "https://verdaccio:4873"
in my .yarnrc.yml, I get a http 409 error:
➤ YN0001: HTTPError: Response code 409 (Conflict) at EventEmitter.<anonymous> (C:\src\y2.yarn\releases\yarn-berry.js:24:327728) at processTicksAndRejections (internal/process/task_queues.js:97:5) ➤ YN0000: Failed with errors in 4.09s
To Reproduce
Have a verdaccio installation that requires login.
Steps to reproduce the behavior:
- yarn set version berry
- echo "npmRegistryServer: “https://verdaccio:4873” >> .yarnrc.yml (with the actual address)
- yarn npm login - enter username and password
- See error
Expected behavior No error.
Screenshots None
Environment information
node 13.9 yarn 2.0rc29
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Migration | Yarn - Package Manager
A step-by-step and in-depth migration guide from Yarn 1 (Classic) to Yarn 2 (Berry).
Read more >Introducing Yarn 2 ! - DEV Community
Here you'll find comprehensive explanations of the in-and-outs of each message - including suggested fixes. The colours are now used to support ......
Read more >Yarn 2 — the future of package managers for JavaScript? - Snyk
Yarn 2 ticks a quite a few check-boxes on the board that have been keeping developers discussing on how to manage JavaScript projects:...
Read more >Yarn | Gatsby
For Gatsby core development, you'll need Yarn version 1.0.2 or later. Although the Yarn documentation discourages it, you can also install Yarn using...
Read more >Does Vercel support Yarn 2?
Does Vercel support Yarn 2? The Vercel build pipeline only supports Yarn 2 for static builds. Serverless Functions and SSR (Server-side ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any news?
The package manager must send it.
I’m trying to fix this on berry repo, might take a while since I’m not fully familiar with their code.