Open deadcoder0904 opened 1 year ago
this was because of turbopack which is in beta.
i removed next dev --turbo
from my package.json
node script & it worked.
I solved this problem in the same way, thanks
haha, i should re-open it then bcz it's related to turbo.
We're seeing this on vercel builds not using turbopack. Are you all testing forcing turbopack by chance on vercel?
When using dynamic import im getting <template data - dgst = "NEXT_DYNAMIC_NO_SSR_CODE"> < /template>in source, why? do we need turbo pack?
FWIW, this has been resolved for us on the latest canary.
When using dynamic import im getting <template data - dgst = "NEXT_DYNAMIC_NO_SSR_CODE"> < /template>in source, why? do we need turbo pack?
In my case, <template data - dgst = "NEXT_DYNAMIC_NO_SSR_CODE" data-stck="xxxxxxxxxxxxxxx"> < /template>in source
https://github.com/vercel/next.js/issues/55373
Can anyone help me take a look?
@yaxiaoliu did you solve the issue?? I seem to be facing something similar as well currently
this was because of turbopack which is in beta.
i removed
next dev --turbo
from mypackage.json
node script & it worked.
thank you for this, it works
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
https://github.com/deadcoder0904/next-13-lucia-auth-drizzle-turso-sqlite-magic-link/tree/server-component-bug
To Reproduce
see the branch
server-component-bug
& run it.Describe the Bug
i get an error stating:
Expected Behavior
application should run.
i get all kinds of weird bugs that you've already closed like
Error: Unsupported Server Component type: undefined
for no reason.once i fix this, i'll post about others.
Which browser are you using? (if relevant)
Chrome
How are you deploying your application? (if relevant)
Vercel