SassError: File to import not found or unreadable: ~quasar-variables-styl.
-
quasar 1.42
application made from scratch, not even a line of my code (yet)webpack --mode=development yields an error
ERROR in ./src/styles/quasar.sass (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/styles/quasar.sass) Module build failed (from ./node_modules/sass-loader/dist/cjs.js): SassError: File to import not found or unreadable: ~quasar-variables-styl. on line 15 of src/styles/quasar.variables.sass from line 1 of /home/tarkhil/order221/order221/src/styles/quasar.sass >> @import '~quasar-variables-styl';
What should I fix?
-
what’s the output of
quasar info
? -
@import '~quasar-variables-styl'
This doesn’t even make sense inside a sass file
I wonder if during the install, something botched -
@Hawkeye64 got it, thanks
-
Hi @tarkhil, it helps to put how you resolved the issue just in case anyone else stumbles across this issue!
-
Yes, it helped. Just removing those directives fixed the issue.