Skip to content
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

On run it throws error "Global CSS cannot be imported from files other than your Custom <App>. Due to the Global nature of stylesheets" #3

Open
Vinyl-Davyl opened this issue Aug 22, 2022 · 3 comments

Comments

@Vinyl-Davyl
Copy link

Vinyl-Davyl commented Aug 22, 2022

After installing dependencies and proceeding with next dev. What's your thoughts

@markdost
Copy link

markdost commented Sep 5, 2022

@Vinyl-Davyl downgrade from next@11.1.1 to next@11.1.0

Apparently there is a breaking change with next@11.1.1 on windows.
Source: https://stackoverflow.com/questions/68991702/fresh-nextjs-app-throwing-errors-before-any-changes/68992114#68992114

You could also try and upgrade to next 12 of course :)

@ibrahim-koraikir1
Copy link

I add all my CSS files to _app.js work for me

@Vinyl-Davyl
Copy link
Author

Vinyl-Davyl commented Sep 25, 2022

Sorted it out already, thanks @markdost @ibrahim-koraikir1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants