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 • Sr. Frontend Engineer @Chargebee 👨‍💻• I write about modern Javascript & building web apps

© 2021 Nesin Technologies LLP