Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[apps/nextjs-example]: TypeError: Cannot read properties of null (reading 'useState') #45

Closed
LeviHHH opened this issue Jan 10, 2023 · 3 comments
Assignees

Comments

@LeviHHH
Copy link
Contributor

LeviHHH commented Jan 10, 2023

description

Run nextjs demo in local and got 3 errors in browser:

// error 1
Unhandled Runtime Error
TypeError: Cannot read properties of null (reading 'useState')

// error 2
Unhandled Runtime Error
TypeError: Cannot read properties of null (reading 'useState')

// error 3
Unhandled Runtime Error
Error: There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.

reproduce

browser: Chrome
pnpm version: 7.14.2
cmd:

pnpm install
pnpm turbo run build 
pnpm turbo run dev
@gregnazario
Copy link
Contributor

gregnazario commented Jan 10, 2023

I was having the same issue! It is fixed with #46

Please try again, and close it if it's still not working

@0xmaayan
Copy link
Collaborator

@LeviHHH
Copy link
Contributor Author

LeviHHH commented Jan 16, 2023

thanks all, it works!

@LeviHHH LeviHHH closed this as completed Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants