sass-brunch
sass-brunch copied to clipboard
Update node-sass
Recently I've tried to run brunch build --production
on my Linux virtual machine and got this message:
warn: Loading of sass-brunch failed due to Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (51)
As the message says, it looks like Linux versions are supported only on newer versions of node-sass.
The current version of node-sass used in this project is v3.8.0
while their latest release is v4.5.0
. Do you guys consider updating this project to newer versions anytime soon?
How can I work around this issue in the meanwhile so I can compile my brunch project directly from my production machine?
see last commits — we've reverted the upgrade since it broke something.
@kazzkiq hi! Here is the commit that reverts upgrade to new major version of node-sass
: https://github.com/brunch/sass-brunch/commit/984c71ce95520ed0196ad1e453a39372b281a5de
Take a look at related issues: #141, #142
Thanks, guys. Is this Brunch-related or a issue with node-sass
/Bootstrap/Foundation code?
Meanwhile, if anyone is also facing this issue, a good workaround is running node-sass
separately on your brunch project:
- Install
node-sass
globally on your server (npm install -g node-sass
); - Run
brunch build
as usual; - Run
node-sass
on your main CSS file. e.g.node-sass /app/styles/main.scss /public/app.css
.
@kazzkiq I forked this repo and updated node-sass to v.4.5.3. I did not see any errors (although my test app is very simple). I am using Node 7.2.1. Can you see if it works for you?
npm install git+https://[email protected]/jukebox017/sass-brunch.git
Any news on this? Am having this same issue with an app on Heroku, have been advised to include node-sass
as a dependency in my project and/or try compiling with node-sass
directly...
Any news? I was looking at using brunch for a new project but if I have to use postcss with brunch then I may as well just not.
This is also breaking an existing project that I was using brunch with. I don't really want to have to manually run sass each time which kind of defeats the purpose of using brunch.
Ran into this tonight as well
still present :)
with sass-brunch 3?
I changed minor version several times, it didn't help. I had to downgrade to node 12.