1

I am having a grunt file using which I am trying to convert SASS to CSS but I am unable to. I want to do it without using Ruby or Python. I only want to use NPM packages.

Akash Kool
  • 52
  • 5

2 Answers2

2

At the current date it is impossible.

Certain versions of node-sass have precompiled binaries, but if you aren't a supported platform then there's nothing you can do, install ruby or python.

See:

https://github.com/sass/node-sass/issues/1176

https://github.com/sass/node-sass/issues/2173

Node.js: Python not found exception due to node-sass and node-gyp

BookOfGreg
  • 3,374
  • 39
  • 53
2

You can convert online using https://sass2css.herokuapp.com

And it provides several options / configurations. Such as

  1. Indent Style and Width
  2. Style Output
  3. Autoprefixer Toggle
0xdw
  • 3,422
  • 2
  • 23
  • 36
Tunji Oyeniran
  • 2,760
  • 1
  • 17
  • 15