Closed carlomigueldy closed 2 years ago
I think this may be happening to me only
I deleted node_modules and reinstalled dependencies and now it works! 👀
Closing this issue now
I'm actually facing the same issue
Me too, sometimes it works, and sometimes it breaks on dev.
But the customer reported that this page is throwing an Application error
sometimes on production
I have the issue too, but only once in a while. It's hard to figure out the conditions to trigger it, but there'e definitely something fishy in there that should be investigated. I suggest to reopen the issue so that it is kept in sight for the team.
I am facing the same issue.
using this version: "next": "12.1.6",
but the error gone when i use async and await method like the following:
const DynamicHeader = dynamic(async () => await import('../components/header'))
but sometimes it works and sometimes the component not being rendered, works if i refresh the page.
please investigate this issue.
deleting node_modules then reinstall the dependencies doesn't help on my end
Having this issue too
you should reopen this issue. I have the same and reinstalling doesn't help
i tried to investigate: i get this error
And look at dynamic
source and saw it:
Looks like it's connected
Having same issue, sometimes happen. Please fix it
Describe the bug
Seems like the Next.js dynamic imports isn't working as what we expect, it's throwing me an error on dev.
To Reproduce
Steps to reproduce the behavior:
yarn dev
Expected behavior
Should open the page without error on dev
Screenshots
If applicable, add screenshots to help explain your problem.