-
Notifications
You must be signed in to change notification settings - Fork 13
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Next.js: SyntaxError: Unexpected token 'export' #12
Comments
next-transpile-modules should solve this issue with Next.js. Add this to
|
Hi @ilyabo thanks for the response. I've tried the code as you've indicated and it still don't works. I've tried also with different versions of the library with the same result. Any ideas? Thank you for your time and this great software. |
Could you share your repo? |
I can't because it's a corporate repo. But I'll try to share the relevant parts: next.base.config.js
package.json
In my component I have:
But I've never been able to test if the component works. After your suggestion the error I get is:
Thanks for your help. |
Ah, so now you are getting the error because of |
I'll do. Thanks! |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hello,
I'm trying to add a FlowmapLayer on an existing project which is already using Deck.gl.
I'm not an expert in nx + next.js configuration, but I've tried several things, even with next-transpile-modules (although I didn't know what I was doing).
I am working with a very simple example:
and I get the error:
Any clue of how can I fix this?
The text was updated successfully, but these errors were encountered: