'use client' directive throws error

Steps: 1. npx create-next@latest 2. accept app dir usage 3. create client component with 'use client' directive at the top 4. import and use client component in default home page 5. npm run dev 6. I get unhadled runtime error, "undefined is not valid JSON" 7. when I remove the "use client" directive everything works
3 Replies
benten
benten2y ago
is this windows?
codefork
codeforkOP2y ago
yes sir downgrading to 13.2 fixed the issue looks like there may be a bug with 13.3
benten
benten2y ago
Yep i heard there is a bug with the latest and windows
Want results from more Discord servers?
Add your server