Error [ERR_REQUIRE_ESM]: require() of ES Module while using SSR #1190
Unanswered
ComputerReflex
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I was setting up SSR, everything got installed and compiled successfully.
But just while running the final node process (
node public/js/ssr.js
), I'm getting this error:However, there's no error on the client-end.
Why the same package have no issue on the client-end but just only on the server-end.
Maybe I'm missing something?
Here's my webpack config
Thank you so much for reading :)
Beta Was this translation helpful? Give feedback.
All reactions