middleman: v4 Sass import error
Sass::SyntaxError: File to import not found or unreadable
This is only happening in v4 and I’m not sure why. I’m just doing simple @import 'directory/file' imports like I have in any previous version. The Gemfile.lock lists out compass-import-once, so I assume that functionality should exist?
Not sure what’s changed here. Any help is appreciated.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 25 (10 by maintainers)
The only way I was able to fix this was change the name of my
scssfiles from.css.scssto just.scssas shown…@andy-twosticks
Hiya - seems you are a bit emotional about all of this 😃
I was simply copying you my repository - I think the best way I have learnt middleman and indeed ruby is checking out other peoples repos. I dont think anywhere I say replace external pipelines or that they do not work…
In that codeblender repo I am using Webpack with SASS and Coffeescript - I believe the setup you require.
A google also - webpack middleman sass reveals https://rossta.net/blog/using-webpack-with-middleman.html
Direct Link to webpack config https://github.com/iwarner/CodeBlender-Middleman/blob/master/webpack.config.js
check out https://github.com/iwarner/CodeBlender-Middleman
i use webpack for sass
I’m doing some issue-gardening 🌿🌷🌾 and came across this issue.
Sorry that this has lingered for quite a while! With Middleman 4 the external pipeline is preferred method for assets, and this seems to stem from sprockets.
I’d suggest closing this issue, and if the problem resurfaces (or still exist) a new issue can be opened in the middleman sprockets repo.