How to Fix StoreStateProvider Gatsby Error

July 26, 2020

Got stuck with sudden StoreStateProvider error while running any Gatsby command locally?

StoreStateProvider error

Here’s how to fix it quickly:

cd yourproject/
npm uninstall react react-dom gatsby

npm install react react-dom gatsby

That should fix the issue. However, if you still facing the error.

Try deleting the node_modules and install the packages again

rm node_modules
npm install


👋 I'm Ashik Nesin • Principal Software Engineer @Chargebee 👨‍💻• I write about web development & behinds the scenes of startup/side projects that I'm building

© 2022 Nesin Technologies LLP