Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-sass@3 #196

Closed
jonathanong opened this issue Mar 24, 2015 · 11 comments
Closed

node-sass@3 #196

jonathanong opened this issue Mar 24, 2015 · 11 comments

Comments

@jonathanong
Copy link

node-sass@2 doesn't seem to work with iojs, and my teams wants to switch for compass (or whatever the slow, ruby version we're using is). any chance i can use node-sass@3 alpha locally by having grunt-sas sset the dependency to >= 2 < 4 (haven't tried this before... npm might fail somewhere) and depending on 3.0.0-alpha.1 specifically in my app's package.json?

@abods
Copy link

abods commented Mar 24, 2015

Facing the same problem with Node 0.12 and i have to switch to 0.10 in order for grunt-sass to work!

@kevva
Copy link
Contributor

kevva commented Mar 24, 2015

Wouldn't it still try to use node-sass@2, even when a newer version of node-sass exists alongside? Couldn't get it to work locally.

@abods
Copy link

abods commented Mar 24, 2015

You are a star Kevva,
Just updated my node-sass to 2.0.1 and works perfect with node 0.12
Thank you.

@am11
Copy link
Contributor

am11 commented Mar 30, 2015

For v3-beta, I have made this commit: c14beebc4fbda3. This is mostly for the breaking changes.

Till now, we have introduced couple of new options and features. The afore mentioned commit does not include them, but keep you going with latest Sass language compatibility.

Note using "^3.0.0-" will also work for getting latest of alpha, beta and rc.

HTH.

@sindresorhus
Copy link
Owner

It's now in master, so you can just run the following to get it:

npm cache clean && npm install --save-dev sindresorhus/grunt-sass

@trompx
Copy link

trompx commented Apr 9, 2015

I tried the following grunt-sass versions 0.17.0 / 0.18.0 / 0.18.1 with the following packages :

On my host machine (windows 8.1), all configs work, but on my VM (Ubuntu 14.04), I get the following error :
Loading "sass.js" tasks...ERROR

Error: libsass bindings not found. Try reinstalling node-sass?

Do you know what could I do, or any combinaison of node / node-sass / grunt-sass working ?

Thank you

@kevva
Copy link
Contributor

kevva commented Apr 9, 2015

Have you tried reinstalling like it suggests?

@trompx
Copy link

trompx commented Apr 9, 2015

Ok this is quite tricky.

I use vagrant to sync my host files on my VM. The ideal would be to be able to just sync the core applications files from my host and install node_modules and composer packages only on the VM.

The thing is that the "vagrant rsync-auto" command does not take into account the excludes folder on initial rsync. Issues :

So I tried the following :

  • after the initial rsync on vagrant up, remove node_modules folder from vm
  • "npm update" on the vm
  • run grunt, change scss file on the host and manualy "vagrant rsync"

With the following, I managed to make work grunt-sass 0.18.1 with the following node versions :

  • 0.10.35 / 0.10.36 / 0.10.38
    It fails starting 0.11.0 (and I also tried 0.11.5, 0.12.0 and 0.12.2)

I have not tried it yet but I should vagrant up with only shared folder (no rsync), npm update on the VM to get the same files on my host. Then vagrant reload after changing the syncing method to rsync...

@xzyfer
Copy link
Contributor

xzyfer commented Apr 21, 2015

@trompx [email protected] address this issue. You should able to install it on both the host and VM with them overwriting each other.

@xzyfer
Copy link
Contributor

xzyfer commented May 6, 2015

node-sass v3.0.0 is live

@kevva kevva closed this as completed in ad6f23a May 6, 2015
@DenisMir
Copy link

Grr after switching to the final 3.0.0 release I'm once again getting invalid operands for multiplication.

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

No branches or pull requests

8 participants