-
Notifications
You must be signed in to change notification settings - Fork 15
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
SyntaxError: Cannot use import statement outside a module #31
Comments
Thanks for the issue, @joseph1125. I think I know what the problem is. I'll take a pass at fixing it tomorrow. In the meantime, try version v1.0.2. I don't think it'll have the same problem. |
Thanks for the quick response, confirmed that v1.0.2 doesnt have this issue |
Hi! Just released The issue was caused by the |
Confirmed it was working at 1.0.6, will upgrade to 1.0.7 ASAP, many thanks
Sent from ProtonMail Mobile
…On Tue, Dec 29, 2020 at 22:22, Daniel O’Connor ***@***.***> wrote:
Hi! Just released 1.0.7 that should work.
The issue was caused by the exports field in the package.json which is used for modern JavaScript. I'm not sure why it wasn't working, but I made [#35](#35) to track that.
—
You are receiving this because you were mentioned.
Reply to this email directly, [view it on GitHub](#31 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AB7FK3QAGY5HWANQ47FFYGLSXHQ3DANCNFSM4VHUY5PA).
|
When working with nextjs, it is founded that the server returns error as this syntax error pops out
The text was updated successfully, but these errors were encountered: