SCSS is not working

web
mobile

Topic: SCSS is not working

Venky pro asked 1 months ago

Hi,

We've followed the quick start guide to import the SCSS and tried to run the application, but it's not working as given in the guide. Got node-sass module not found error, installed that package and then some other error came. Please give the solution for this issue.

Thanks :)

Resources (screenshots, code snippets etc.)

./src/assets/scss/mdb.scss (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--6-oneOf-5-3!./node_modules/sass-loader/lib/loader.js??ref--6-oneOf-5-4!./src/assets/scss/mdb.scss) Error: resolve-url-loader: CSS error source-map information is not available at url() declaration (found orphan CR, try removeCR option)


Hello, I'm having the same issue with MDB react, I followed the instructions at the bottom of https://mdbootstrap.com/docs/react/css/colors/ page.


Piotr Glejzer staff commented 2 days ago

Can you check this topic? I think is related to this post.

https://mdbootstrap.com/support/react/error-after-following-steps-in-scss-portion-of-5-min-quick-start/

Thanks. Best,Piotr


Please insert min. 20 characters.