question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

yarn2 Support (login)

See original GitHub issue

Describe 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:

  1. yarn set version berry
  2. echo "npmRegistryServer: “https://verdaccio:4873” >> .yarnrc.yml (with the actual address)
  3. yarn npm login - enter username and password
  4. See error

Expected behavior No error.

Screenshots None

Environment information

node 13.9 yarn 2.0rc29

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:8
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

6reactions
XavierChevaliercommented, Jan 4, 2021

Any news?

1reaction
juanpicadocommented, Sep 19, 2020

Where does that token come from? I

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found