not supported resolving ES modules imported from build #7586
-
After I update remix from 1.19.3 to 2.0.1 when I want serve build I have this error
this is my remix.config.js file:
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 6 replies
-
for anyone currently experiencing this problem i fixed it by changing the package.json: |
Beta Was this translation helpful? Give feedback.
-
I am running into the same issue with 2.1. I do not understand it though but Ninth's fix did it for me. If somebody can explain why I would be grateful. |
Beta Was this translation helpful? Give feedback.
-
I also experienced this moving to v2. Ninth's fix does seem to work for me too. Looking at the discord, a bunch of folks upgrading have run into this one. Would be a good one for the Remix team to address |
Beta Was this translation helpful? Give feedback.
-
https://github.com/mui/material-ui/tree/master/examples/material-ui-remix-ts |
Beta Was this translation helpful? Give feedback.
-
I am facing the same problem after migrating to |
Beta Was this translation helpful? Give feedback.
-
How would you solve this for dev environment? |
Beta Was this translation helpful? Give feedback.
-
Does anyone know how to solve this error when SPA mode works (no server)? I ran into this problem when trying to run material templates. |
Beta Was this translation helpful? Give feedback.
for anyone currently experiencing this problem i fixed it by changing the package.json:
"start":"remix-serve build"
to
"start":"remix-serve ./build/index.js"