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

Error with SSR #5

Open
teddybee opened this issue Aug 17, 2021 · 0 comments
Open

Error with SSR #5

teddybee opened this issue Aug 17, 2021 · 0 comments

Comments

@teddybee
Copy link

teddybee commented Aug 17, 2021

In Nextjs I have got this error message:

error - ./node_modules/@coreui/icons-react/es/CIcon.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules@coreui\icons-react\es\CIcon.js

Looks like your package is not SSR compatible.

Possible solution is not importing the css in js file:
vercel/next.js#19936

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

1 participant