You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have bumped up my project dependencies including carbon, carbon style.
But currently I'm having warning for sass now. and I have no clue to solve this warning. It seems not critical but I want to fix it.
./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[9].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[9].use[2]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[2].oneOf[9].use[3]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[2].oneOf[9].use[4]!./pages/styles.scss
Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.
Invalid dependencies may lead to broken watching and caching.
As best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.
Loaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).
Plugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).
Globs: They are not supported. Pass absolute path to the directory as context dependencies.
The following invalid values have been reported:
* "node_modules/"
* "node_modules/@carbon"
* "node_modules/@carbon/_colors"
* and more ...
I have installed sass, referenced demo project for nextjs on this repository but I cannot found solution.
It would be happy If I solve this thank you.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Framework: next.js



React: 17.0.2
Package.json:
Hi, I have bumped up my project dependencies including carbon, carbon style.
But currently I'm having warning for sass now. and I have no clue to solve this warning. It seems not critical but I want to fix it.
I have installed sass, referenced demo project for nextjs on this repository but I cannot found solution.
It would be happy If I solve this thank you.
Beta Was this translation helpful? Give feedback.
All reactions