creativetimofficial / ct-material-dashboard-pro

Material Dashboard Pro - Premium Bootstrap 5 Admin
https://demos.creative-tim.com/material-dashboard-pro/pages/dashboards/analytics
116 stars 28 forks source link

Error: File to import not found or unreadable #233

Open Qvatra opened 5 years ago

Qvatra commented 5 years ago

I'm trying to compile sass files using webpack and getting a bunch of similar errors. This is the first one:

in ./assets/themes/scss/material-dashboard/mixins/_animations.scss (./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--9-oneOf-1-3!./node_modules/sass-resources-loader/lib/loader.js??ref--9-oneOf-1-4!./assets/themes/scss/material-dashboard/mixins/_animations.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
^
      File to import not found or unreadable: .
      in /Users/oleksandr/projects/bsgp/assets/themes/scss/material-dashboard/mixins/_animations.scss (line 17, column 2)

The entry point file is material-dashboard.scss and no modifications were done to the package I bought from you. Interesting fact is that when i compile vanilla bootstrap4 (entry point bootstrap.scss) no error happens so webpack configuration seems to work.

Any advise?