Closed levino closed 4 years ago
This is a duplicate of #24577 Let's track it there.
Also, check out #25142 as they were able to solve for their use case.
I am not sure that the issue is the same. Even if, I tried all of the suggested (voodoo like - as in "just delete and reinstall everything") fixes, none worked. I am stuck. I cannot merge any of my PRs. Please advise. This is a catastrophe...
Hi @Levino
Did you use yarn to install your packages. Interestingly, I am seeing exactly the same issue but I normally use npm for my installs. I cleaned the node_modules directory and used yarn install
instead and then it built for me.
@mcqj I use yarn and it reproduces on Netlify's production builds anyway. Netlify uses yarn as well
@geekiam managed to reproduce it locally, worked as far as reproducing. Did you finally solve this problem?
@marharyta yeah. I've stopped use Gatsby :D
Same problems with our project. We're 3 developers trying to debug this clusterf** for almost a week by now. I can't even understand why a cli project would depend on a layout engine like yoga. Move your eyes away from a Gatsby project for a month and nothing works when you come back.
Same here. What a braindead stacktrace. Hard to get an idea whats wrong....
I was able to fix it for my project. The important thing is that you have to avoid 2 different installed versions of mini-css-extract-plugin
.
I also fixed it with the "resolutions" way in packages.json. There was a different thread where the solutions was posted. But thanks anyway for your help.
Description
I cannot build my gatsby page. I get:
IMPORTANT: The process does not even stop (exit with 1) but it just continues and hangs forever.
Steps to reproduce
Check this out and try to build.
Expected result
Page should build without error.
Actual result
Thread hangs (does not stop) shows above error message.
Environment