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

2.0.2 breaks node apps built using 2.0.0 #49

Closed
pkMinhas opened this issue Sep 15, 2023 · 1 comment
Closed

2.0.2 breaks node apps built using 2.0.0 #49

pkMinhas opened this issue Sep 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@pkMinhas
Copy link

Introduction of type:module breaks code written with 2.0.0, thus making package.json dependencies of the format "^2.0.0" break deployments.
Error message: require() of ES Module is not supported.

Possible fix: do not use module system in version 2.x.x, move version number to 3.x.x

@maugenst maugenst added the bug Something isn't working label Sep 18, 2023
@maugenst
Copy link
Owner

Converted project into hybrid project containing both, commonjs as well as esm. Bumped version to 3.0.0.
Feel free to reopen the ticket in case of any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants