-
Notifications
You must be signed in to change notification settings - Fork 42
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
version 4.6.0 gives SyntaxError: Cannot use import statement outside a module #83
Comments
Hi, sorry for the inconvenience; I guess the experiment failed here. Is it okay for you to pin to I'll have to figure out if there is a way to adequately support both ESM and CJS in one release (I thought the current way would do it...). Otherwise I'll probably push |
I don't mind at all. But I think it's better to push |
We ran into this today as well. We had our dependency defined as Agreed that this should have been a major version bump to 5.0.0, and in the mean time a release of 4.6.1 that rolls it back sounds like the right thing to do. 👍 |
Just published |
Checked, the issue no longer occurred in ps: sorry for the delayed response due to the holiday |
Hi, I'm testing with 4.6.1 and the issue is still present for me |
Also still seeing this error with 4.6.1, sadly. |
Issue:
Our test in the CI suddenly failed today.
Root cause:
in our package.json, we use
^4.5.0
, so our CI picked up release4.6.0
which enables experimental support for native ESMThe text was updated successfully, but these errors were encountered: