-
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
fix(gatsby): fix fs empty webpack5 deprecation #29631
Conversation
4f6003d
to
3f35828
Compare
👋 Did this make it in the v3 release? I followed the instructions by adding what https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v2-to-v3/#webpack-5-node-configuration-changed-nodefs-nodepath- recommended and still have an issue. Came across this locally:
|
Webpack isn't polyfilling by default anymore. You'll have to follow that breaking change. Or what's your question? |
Hey @wardpeet thanks for replying. To clarify, after following the suggestion from the migration-guide, I'm seeing these errors - since it's pointing to Not that I'd suspect they are connected, but also running into #29951 which makes debugging the site in general at the moment a bit challenging. |
@zslabs want to hop on discord? (https://gatsby.dev/discord) #29951 Seems to be an issue with gatsby-plugin-netlify-cms |
Description
Documentation
Webpack has deprecated
node.fs = "empty"
intoresolve.fallback.fs = false
. We'll automatically patch it to the new syntax. This mostly leads to other issues during Module Resolving. By showing the breaking change message in Webpack, people know what to do.The error now shows:
How to test?
Install
react-markdown
ordocumentation
and test it.