react-cam icon indicating copy to clipboard operation
react-cam copied to clipboard

It's not compatible with nextJS application for one reason

Open jsdaniell opened this issue 3 years ago • 0 comments

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

jsdaniell avatar Jul 28 '21 22:07 jsdaniell