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

red warning text on build #450

Open
quetzalsly opened this issue May 15, 2024 · 0 comments
Open

red warning text on build #450

quetzalsly opened this issue May 15, 2024 · 0 comments

Comments

@quetzalsly
Copy link

00:50:51 [build] Building static entrypoints...
(node:11544) 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)
(node:11544) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
00:50:54 [astro-icon] Loaded icons from flat-color-icons, tabler

Is this supposed to happen during build? it wants .mjs somewhere?
I am not sure how to debug this.
I also have "type": "module" in the package.json but it still gives the warning.

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

No branches or pull requests

1 participant