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

this package could not be loaded into a non-babel, native esm node.js environment #159

Closed
iambumblehead opened this issue Aug 17, 2021 · 2 comments
Labels

Comments

@iambumblehead
Copy link

this package could not be loaded into a non-babel, native esm node.js environment

this appears in the process log,

(node:6368) 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)
/path/to/my/project/node_modules/cron-schedule/dist/cron-schedule.esm.min.js:1
@P4sca1 P4sca1 closed this as completed in 53993b1 Aug 17, 2021
P4sca1 pushed a commit that referenced this issue Aug 17, 2021
## [3.0.3](v3.0.2...v3.0.3) (2021-08-17)

### Bug Fixes

* rename module file extension to .mjs ([53993b1](53993b1)), closes [#159](#159)
@P4sca1
Copy link
Owner

P4sca1 commented Aug 17, 2021

@iambumblehead Could you try with the latest version 3.0.3 and give feedback if it now works, please?

@P4sca1
Copy link
Owner

P4sca1 commented Aug 17, 2021

🎉 This issue has been resolved in version 3.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants