-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
the name _GlobalStyles
is defined multiple times
#813
Comments
Hey there, thanks for posting this demo. I spent a little while troubleshooting but wasn't too sure of the cause. Take a look at the official next-emotion example for a working configuration using the src folder - sorry I couldn't help out more here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a next.js project. When I start it and try to load anything, I get:
As far as I can tell I am only importing
GlobalStyles
once so I'm unsure why it's getting built twice.My
package.json
dependencies are:and
devDependencies
:I've posted a reproducible demo here - just clone,
yarn install
, andyarn dev
: https://github.com/getaaron/demoI read through #277 and tried some of the suggestions there but it didn't resolve the issue. I'm not sure if this is a bug or user error, so apologies in advance if I did something simple wrong 🥲
The text was updated successfully, but these errors were encountered: