shadcn-ui / next-template

A Next.js 13 template for building apps with Radix UI and Tailwind CSS.
https://template.shadcn.com
1.35k stars 203 forks source link

next version 13.3 is causing error #9

Open kratos-respawned opened 1 year ago

kratos-respawned commented 1 year ago

I am getting this error while starting the dev server on windows

event - compiled client and server successfully in 7.5s (1501 modules)
error - SyntaxError: Unexpected token u in JSON at position 0
    at JSON.parse (<anonymous>)
kodbilenadam commented 1 year ago

I believe you are experiencing https://github.com/vercel/next.js/issues/48070 this issue. For some people upgrading to later/canary versions fixes the problem. Try upgrading NextJS version from 13.3 to 13.4.

kratos-respawned commented 1 year ago

I believe you are experiencing vercel/next.js#48070 this issue. For some people upgrading to later/canary versions fixes the problem. Try upgrading NextJS version from 13.3 to 13.4.

Yeah I've created a PR to fix that