Unexpected key "componentDataDependencies" found in preloadedState argument passed to createStore
Asked Answered
C

1

7

I get this errror when I build my Gatsby project.. It does still build, but the error appears in the terminal when i 'Gatsby build' and 'Gatsby develop'.. Anybody has any idea how I can fix this? Let me know if you need more from me!

Unexpected key "componentDataDependencies" found in preloadedState argument passed to createStore. Expected to find one of the known reducer keys instead: "nodes", "logs", "pages", "redirects", "schema", "definitions", "staticQueryComponents", "status",
"webpack", "pageData", "themes", "webpackCompilationHash", "config", "lastAction", "jobsV2", "pageDataStats", "components", "babelrc", "jobs", "nodesByType", "program", "resolvedNodesCache", "nodesTouched", "flattenedPlugins", "pendingPageDataWrites",
"schemaCustomization", "inferenceMetadata", "staticQueriesByTemplate", "queries", "visitedPages". Unexpected keys will be ignored.
Conan answered 1/9, 2021 at 13:51 Comment(2)
Can you provide some code about your implementation? Otherwise it's impossible to know where this code comes from unless you've seen it yesterdayBroome
Please provide enough code so others can better understand or reproduce the problem.Antisana
R
18

I had the same error and simple 'gatsby clean' fixed it.

Rouleau answered 12/10, 2021 at 16:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.