ct-material-dashboard-pro icon indicating copy to clipboard operation
ct-material-dashboard-pro copied to clipboard

Error: File to import not found or unreadable

Open Qvatra opened this issue 5 years ago • 0 comments

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?

Qvatra avatar Apr 24 '19 15:04 Qvatra