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

Cannot read properties of null (reading 'useState') #16

Open
harrysolovay opened this issue Oct 13, 2024 · 0 comments
Open

Cannot read properties of null (reading 'useState') #16

harrysolovay opened this issue Oct 13, 2024 · 0 comments

Comments

@harrysolovay
Copy link

Hi, I'm attempting to use this plugin to allow me a Deno-first Vite+React workspace without the node_modules dir.

Here's the code

  • The language server reports no errors
  • The Vite dev server and build processes run without any errors
  • Unfortunately... I get the following runtime error when visiting the served app:
36e7474……e3f5f75000498e:2699 TypeError: Cannot read properties of null (reading 'useState')
    at n.useState (99c8f9a……4af93fc8dafb:234:22)
    at App (main.tsx:11:35)
    at $i (36e7474……f75000498e:2381:150)
    at da (36e7474……5f75000498e:4550:23)
    at aa (36e7474……5f75000498e:4317:13)
    at vf (36e7474……5f75000498e:4311:26)
    at jr (36e7474……f5f75000498e:4301:9)
    at hi (36e7474……5f75000498e:4091:81)
    at ua (36e7474……5f75000498e:4044:57)
    at B (bc9accd……48b5aac4aacd6:75:19)

Any thoughts on what might be going wrong / how to fix?

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

1 participant