-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🗺 Add ESM template #5452
Comments
started working on this https://github.com/remix-run/remix/tree/logan/esm-templates |
PR for express and netlify #5454 Fly, Remix, and Vercel templates all use |
For the new node-esm template, can we require node 18 and use the built in |
most definitely |
@jacob-ebey @mcansh What about updating all templates to require Node 18 to make it consistent? I would even suggest to make all remix packages to require Node 18 as well as 14 & 16 are EOL for some time now 🤔 |
So keen to see a remix project using |
the "express-esm" template in the linked PR works great for me on macOS, i'll double check windows. I'd love to get that merged if we can fix your issues :) |
@mcansh I'll try again. When I tried running I looked at the |
ah yea, you'll need to use a dedicated server for now https://github.com/mcansh/express-esm |
Thanks for this suggestion! Even with that approach, I get the same error as mentioned above for the
|
sounds like you're missing |
Thanks for the quick reply! I do have |
Another issue seems to be that This creates an error when running the app as ESM:
|
ah, are you using |
this part is due to our compiler not supporting import assertions yet, i'll talk with @pcattori if we should add |
I've updated the express template to ESM as part #6229 |
@jacob-ebey correct me if I'm wrong, but everything is ESM in v2 so we can close thise. |
No description provided.
The text was updated successfully, but these errors were encountered: