-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[email protected] consistently 404s on private packages #3765
Comments
Thanks, looks like this one slipped. |
Thanks for the quick response @bestander. Curious about "looks like this one slipped"—does Yarn not have tests for private module support? That's a huge part of our (and I would assume many folks') use of npm. |
I think we have never set up e2e tests for private modules. |
We don't necessarily need something like npm enterprise, we could just have some simple server that we host ourselves |
@bestander Looks like the Debian archive still has 0.27.3, is it possible to roll that back as well?: http://dl.yarnpkg.com/debian/dists/stable/main/binary-all/Packages |
I think it is more work than fix the 2 issues we have, we'll fix them ASAP |
@robinst No need to roll it back, you can install a specific version like this:
To keep it at that version (and never install a newer version), you can use mark the package as "held back":
This will keep 0.24.6 installed even if you run You then do |
@Daniel15 Thanks. Yeah, that's what I'm doing as a workaround (except with |
@spencer-brown can you confirm in what version it worked for you? |
0.26 is also affected, please use 0.25.4 instead. The commit that introduced the bug is 3382071. |
Commented on a change that probably introduced the break. |
@spencer-brown, can you confirm if the issue is still there in 0.27.4? |
@bestander Please ignore if I'm being another cook in the kitchen, but I can confirm the issue in 0.27.4... |
@scottyeck, you are most certainly welcome. These are the recent releases
|
I just rolled us back to |
Reporting back...
|
That's really weird ... I just checked the 0.27.4 with my private pkg ( |
I managed to reproduce the issue! For some reason,
|
0.27.5 is coming with a patch in 20 minutes |
@scottyeck, can you test 0.27.5, it is available? |
@bestander Just a moment. |
|
@bestander @arcanis I think we're good to close this one? |
Not until we merge #3774 into master - right now it has only been cherry-picked into 0.27. Currently have a few things on my plate, so it will take a few days. |
In case this helps someone: If you are copying an auth token from a Yarn |
We found that adding |
I run into a similar issue. For future readers, removing the private repository mapping from
|
None of these solutions worked for me. |
Ongoing inconsistent occurrences of this for us too (version |
Same issue with yarn 1.22.4 My .npmrc
|
Do you want to request a feature or report a bug?
bug
What is the current behavior?
[email protected] fails to install private packages on every run of
yarn
across several different projects/lockfiles, with a 404.eg
If the current behavior is a bug, please provide the steps to reproduce.
presumably, run
yarn
with[email protected]
installed against anyyarn.lock
that includes private packages.What is the expected behavior?
[email protected]
installs private packages.Please mention your node.js, yarn and operating system version.
node: 6.9.1
yarn: 0.27.3
OS: [email protected], ubuntu 14.04.5 LTS
The text was updated successfully, but these errors were encountered: