-
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 webpack deprecated #2944
Comments
Also related due to old I had to downgrade
|
Our team has also encountered this problem with our mono repo (with the same console error that jazen encountered). It would be extremely valuable long term if the Gatsby team considered upgrading their webpack dependency, since we've found that the older version clashes with our other projects that run on newer versions. |
Working on it :-) Would love any help you could offer! |
Found a workaround from this thread: babel/babel-loader#503 (comment) Steps to reproduce:
Expected result: gatsby starts a server at localhost:8000 or build successfully yarn info version: current workaround: (thanks to @JackyTung) |
For anyone still having problems with this while using Yarn Workspaces, use the new /package.json
/documentation/package.json
This will prevent Gatsby and it's dependencies (like the offending webpack) from being hoisted to the root. |
Due to the high volume of issues, we're closing out older ones without recent activity. Please open a new issue if you need help! |
We are running into many issues building. We have a mono repo and my guess is that our version of webpack/plugins conflicts with the many deprecated webpack plugins gatsby uses. It would be great to update webpack and all plugins.
The text was updated successfully, but these errors were encountered: