react-push-notification icon indicating copy to clipboard operation
react-push-notification copied to clipboard

Global CSS cannot be imported from within node_modules

Open yamilelias opened this issue 5 months ago • 0 comments

Following the README drives me to the following error: image

You need to remove the CSS from the package to work with NextJS. This is my dependency tree:

"next": "13.4.7",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-push-notification": "^1.5.4",

It seems that it is something related to NextJS policies about using CSS directly from the node_modules. You can fin more information here: https://nextjs.org/docs/messages/css-npm

yamilelias avatar Sep 16 '24 17:09 yamilelias