SyntaxError: Cannot use import statement outside a module #1280
Unanswered
byronpolley
asked this question in
Q&A
Replies: 2 comments
|
Hey! Theme UI is very actively maintained. I haven’t gotten this issue & have a number of sites in production running Next.js 10, React 17, & Theme UI. Could you include a CodeSandbox/repl.it/etc with more context? Is this on a |
0 replies
|
@lachlanjc Hi thanks for the info. So I was getting this error whenever importing components: So I added a |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I have been having issues running a successful build on my app since upgrading to Next.js 10 and React 17.
I get this when running
yarn buildAny ideas how I can get successful builds again? I really don't want to migrate from theme-ui but I'm worried it won't be maintained. Again I know I don't get to say what happens with this repo but it's a consideration when adopting a package.
All reactions