Skip to content
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

Fix Warning: To load an ES module, set "type": "module" #29

Open
mhaidarhanif opened this issue Jul 14, 2024 · 0 comments · May be fixed by #64
Open

Fix Warning: To load an ES module, set "type": "module" #29

mhaidarhanif opened this issue Jul 14, 2024 · 0 comments · May be fixed by #64

Comments

@mhaidarhanif
Copy link
Contributor

mhaidarhanif commented Jul 14, 2024

This happens with Node.js v22.3.0 and Bun v1.1.15

$ remix vite:dev
  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
(node:71396) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant