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

It's not compatible with nextJS application for one reason #24

Open
jsdaniell opened this issue Jul 28, 2021 · 0 comments
Open

It's not compatible with nextJS application for one reason #24

jsdaniell opened this issue Jul 28, 2021 · 0 comments

Comments

@jsdaniell
Copy link

For this reasons https://nextjs.org/docs/messages/css-npm

NextJS not allow dependencies import css from node_modules, some ways to fix are suggested. Can you update this dependency and publish a compiled version?

Reach out to the maintainer and ask for them to publish a compiled version of their dependency.

The error exactly is this:

./node_modules/react-cam/lib/lib/style.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules/react-cam/lib/lib/reactCam.js
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