{"record":{"id":"a46ee572c0d0edd5","repo":"gatsbyjs/gatsby","slug":"deprecated-plugin-plugin-name-nod","errorCode":null,"errorMessage":"[deprecated${plugin ? \" \" + plugin.name : \"\"}] node.fs is deprecated. Please set \"resolve.fallback.fs = false\".","messagePattern":"\\[deprecated(.+?)\\] node\\.fs is deprecated\\. Please set \"resolve\\.fallback\\.fs = false\"\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby/src/redux/actions/public.js","lineNumber":1000,"sourceCode":"  return {\n    type: `ADD_CHILD_NODE_TO_PARENT_NODE`,\n    plugin,\n    payload: parent,\n  }\n}\n\n/**\n * Merge additional configuration into the current webpack config. A few\n * configurations options will be ignored if set, in order to try prevent accidental breakage.\n * Specifically, any change to `entry`, `output`, `target`, or `resolveLoaders` will be ignored.\n *\n * For full control over the webpack config, use `replaceWebpackConfig()`.\n *\n * @param {Object} config partial webpack config, to be merged into the current one\n */\nactions.setWebpackConfig = (config: Object, plugin?: ?Plugin = null) => {\n  if (config.node?.fs === `empty`) {\n    report.warn(\n      `[deprecated${\n        plugin ? ` ` + plugin.name : ``\n      }] node.fs is deprecated. Please set \"resolve.fallback.fs = false\".`\n    )\n    delete config.node.fs\n    config.resolve = config.resolve || {}\n    config.resolve.fallback = config.resolve.fallback || {}\n    config.resolve.fallback.fs = false\n  }\n\n  return {\n    type: `SET_WEBPACK_CONFIG`,\n    plugin,\n    payload: config,\n  }\n}\n\n/**","sourceCodeStart":982,"sourceCodeEnd":1018,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby/src/redux/actions/public.js#L982-L1018","documentation":"A deprecation notice from the actions layer: using node.fs (the webpack node-filesystem polyfill hook exposed via setWebpackConfig-style actions) is deprecated because Gatsby's webpack config no longer polyfills node core modules; sites must explicitly disable the fs fallback in webpack resolve options. This is a generic deprecation wrapper warning, not a fault in the site's data.","triggerScenarios":"Thrown at packages/gatsby/src/redux/actions/public.js:1000 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Replace node.fs usage with webpack config `resolve: { fallback: { fs: false } }` via setWebpackConfig in gatsby-node","Remove the node.fs action call and any plugin relying on it","Update to plugins versions that no longer use node.fs"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e85d62f1779e353eaac1753211629a26d123e26c","analyzedAt":"2026-08-26T17:50:09.662Z","contentChangedAt":"2026-08-26T17:50:09.662Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}