yigithanyucedag / react-ambient-player

Video player backlight changing according to video content
https://www.npmjs.com/package/react-ambient-player
7 stars 0 forks source link

Global CSS cannot be imported from within node_modules. #1

Open felipeviuu opened 1 year ago

felipeviuu commented 1 year ago

The Global CSS import are deprecated.

this is the error:

(node:2596) [DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API (Use node --trace-deprecation ... to show where the warning was created) error - ./node_modules/react-ambient-player/style.css Global CSS cannot be imported from within node_modules. Read more: https://nextjs.org/docs/messages/css-npm Location: node_modules/react-ambient-player/AmbientPlayer.js Import trace for requested module: ./node_modules/react-ambient-player/style.css ./node_modules/react-ambient-player/AmbientPlayer.js ./node_modules/react-ambient-player/index.js wait - compiling /_error (client and server)... error - ./node_modules/react-ambient-player/style.css Global CSS cannot be imported from within node_modules. Read more: https://nextjs.org/docs/messages/css-npm Location: node_modules/react-ambient-player/AmbientPlayer.js

Import trace for requested module: ./node_modules/react-ambient-player/style.css ./node_modules/react-ambient-player/AmbientPlayer.js ./node_modules/react-ambient-player/index.js

yigithanyucedag commented 7 months ago

Sorry for the delay, I will check the error and update here