Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Update node-sass #146

Closed
kazzkiq opened this issue Mar 2, 2017 · 11 comments
Closed

Update node-sass #146

kazzkiq opened this issue Mar 2, 2017 · 11 comments

Comments

@kazzkiq
Copy link

kazzkiq commented Mar 2, 2017

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?

@paulmillr
Copy link
Contributor

see last commits — we've reverted the upgrade since it broke something.

@denysdovhan
Copy link
Contributor

@kazzkiq hi! Here is the commit that reverts upgrade to new major version of node-sass: 984c71c

Take a look at related issues: #141, #142

@kazzkiq
Copy link
Author

kazzkiq commented Mar 6, 2017

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:

  1. Install node-sass globally on your server (npm install -g node-sass);
  2. Run brunch build as usual;
  3. Run node-sass on your main CSS file. e.g. node-sass /app/styles/main.scss /public/app.css.

@jukebox017
Copy link

jukebox017 commented May 17, 2017

@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://git@github.com/jukebox017/sass-brunch.git

@harryfinn
Copy link

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...

@mattly
Copy link

mattly commented Mar 31, 2018

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.

@benlilley
Copy link

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.

@tielur
Copy link

tielur commented Aug 30, 2018

Ran into this tonight as well

@MeerKatDev
Copy link

still present :)

@paulmillr
Copy link
Contributor

with sass-brunch 3?

@MeerKatDev
Copy link

I changed minor version several times, it didn't help. I had to downgrade to node 12.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

9 participants