-
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
Help - package not find with yarn but ok with npm #6123
Comments
It's working for me at the moment
is this still an issue for you? |
Still the issue yes, is there something to configure somewhere maybe? PS: I have to precise that I've been running the same issue with several packages, so it's not related to "babel-plugin-transform-decorators-legacy" I suppose (rollup, other babel plugins...). |
Same Issue here... |
Hey, just to say that a mate in my office didn't have the problem. I'm not sure if there is a local-cache related stuff (npm, temps files? dunno). Temporary solution: For those who have this problem, just manually do "npm i mystuff" in the root, once the workspace is set up by yarn, it's not a problem and works fine. |
Likely fixed by #6413 (working on a release at the moment, will probably reach rc by tomorrow). The error message ("Couldn't find package") is triggered when Yarn doesn't get any output from the NPM registry, which is actually quite often (there's a significant amount of requests that ends in 500). I'm not sure exactly why it occured on this package in particular (maybe something related to their sharding?), and I can't even reproduce it myself, but looking at the symptoms (the error message, the randomness of the failure, the similarity with other errors we got on our CI due to this problem) that's what makes the most sense. I'm going to close this issue, but feel free to reopen if you see it again. |
Hi,
I'm new to yarn and I create a project using yarn workspace along Lerna, I was previously using npm and everything was working, decided to try yarn to optimize the process of "install".
So far everything is great, I just have an issue with "babel-plugin-transform-decorators-legacy" and/or "babel-plugin-transform-decorators" (tried both):
I tried a simple "yarn install" (reading from packages.json) and a "yarn add" (with -W) both are failing while "npm i" works.
Maybe there is something about cache or a registry stuff npm include by default and yarn doesn't?
Thanks.
The text was updated successfully, but these errors were encountered: