next-styles icon indicating copy to clipboard operation
next-styles copied to clipboard

getting Module not found: Can't resolve 'css-loader/locals'

Open insivika opened this issue 5 years ago • 4 comments

When I'm tring to import a module.scss file I'm getting Module not found: Can't resolve 'css-loader/locals'

Screen Shot 2021-01-27 at 8 55 38 PM

Next v10.0.3 next-styles v1.1.1

insivika avatar Jan 28 '21 04:01 insivika

Confirmed on my side!

dumbravaandrei22 avatar Feb 04 '21 01:02 dumbravaandrei22

I got this after an npm update. Some time ago, I posted another problem. https://github.com/webdeb/next-styles/issues/11#issuecomment-626381424 Try to install: @webdeb/next-styles: 1.1.0

My package.json: image

dumbravaandrei22 avatar Feb 04 '21 11:02 dumbravaandrei22

Ended up removing this plugin and spent the last week re-writting all out imports to use modules. The plugin was causing a lot of compliation issues in Dev

insivika avatar Feb 16 '21 01:02 insivika

no further action? I have similiar issue when upgrading the css-loader

numannaufal avatar Mar 29 '22 13:03 numannaufal