Using starter code and getting an error that useState is undefined?
chinapicke opened this issue · comments
China Pickering commented
I've copied everything 100% as the docs but still getting the below error code.
Cannot read properties of null (reading 'useState')
TypeError: Cannot read properties of null (reading 'useState')
at useState (http://localhost:3000/static/js/bundle.js:567830:25)
at T (http://localhost:3000/static/js/bundle.js:536842:28)
at B (http://localhost:3000/static/js/bundle.js:536924:13)
at renderWithHooks (http://localhost:3000/static/js/bundle.js:127676:22)
at mountIndeterminateComponent (http://localhost:3000/static/js/bundle.js:130962:17)
at beginWork (http://localhost:3000/static/js/bundle.js:132258:20)
at HTMLUnknownElement.callCallback (http://localhost:3000/static/js/bundle.js:117268:18)
at Object.invokeGuardedCallbackDev (http://localhost:3000/static/js/bundle.js:117312:20)
at invokeGuardedCallback (http://localhost:3000/static/js/bundle.js:117369:35)
at beginWork$1 (http://localhost:3000/static/js/bundle.js:137243:11)
I have also uninstalled and reinstalled with the same error!
Fredrik Strand Oseberg commented
Hey. I just setup a new project just fine. You'll need to share a reproducable example that I can look at in order to see if there is an actual fault.