-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Gatsby breaks with yarn 1.x #2244
Comments
I just ran into the same error with yarn
I ended up restoring my older |
Looks like it's related to yarnpkg/yarn#4478? |
@swim it said that it was fixed in |
The relay-compiler error was fixed in core recently as their FWIW, I've been using Yarn 1.x on my mac for the last few weeks without trouble. |
Updating to the latest version didn't fix the problem for me. I delete the |
This is any site? E.g. all the official starters fail? |
I linked to the repo I’m referreing to in my first post already. I didn’t try any starters. |
I got the same error when trying to build Gatsby on the repo mentioned in the first comment using yarn 1.1.0. Here's the output from my terminal: https://gist.github.com/m-allanson/59c55ffb705246e4a69c2c7d9366031b I didn't get any errors when I tried |
Ok, found the problem(s) & fixed it.
My only request here is better error messages maybe & when a breaking change like this happen in one of the plugins maybe it should be released as major. The rest was some mistakes from my side. |
@ahmedelgabri I see the need for better error messages. Could you please detail what you would have needed to see and maybe PR on that ? |
@sebastienfi something more related to the issue, not sure what caused the For |
Yeah, this was my fault. The recent PR with the changes should have been a v2. |
Closing this issue as it's fairly old and we have far too many open issues! If you have additional problems in this area, please open a new issue! |
After updating yarn, I can't build anymore. yarn
0.27.5
works fine but not1.x
. Here is the repo & this is the error I'm getting:Deleting
yarn.lock
&node_modules
& starting from scratch yields another error.The text was updated successfully, but these errors were encountered: