Unexpected token export when running nx serve <app>
(next)
#8635
benwainwright
started this conversation in
General
Replies: 1 comment
-
Could this be the same I had? Solved it by adding See |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there!
I have a nextJS monorepo with a web-app and a couple of dependency libraries. Building the application works fine and I've been able to successfully deploy the built code.
Unfortately, the
yarn nx serve
target gives me an error when trying to compile imported librariesunexpected token export
When I load the offending route I get this in the server console:
And this in the browser console
Any help would be much appreciated...
Beta Was this translation helpful? Give feedback.
All reactions