Install sass
I wonder why the sass does not work?
F:\xampp\htdocs\blog_footer>npm install -g sass
C:\Users\ACER\AppData\Roaming\npm\sass -> C:\Users\ACER\AppData\Roaming\npm\node_modules \sass\sass.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\sass\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ [email protected]
updated 1 package in 1.578s
F:\xampp\htdocs\blog_footer>sass footer.scss footer.css
'sass' is not recognized as an internal or external command,
operable program or batch file.
ref: https://sass-lang.com/install
What is the path that I have to add to the env variable ?
path to sass.bat file.
In my system its C:\Ruby26-x64\bin;
I cannot find that file. I can find these files:
C:\Users\ACER\AppData\Roaming\npm\node_modules\sass>dir
Volume in drive C is Window
Volume Serial Number is 82D0-DCBF
Directory of C:\Users\ACER\AppData\Roaming\npm\node_modules\sass
12/10/2019 12:03 PM <DIR> .
12/10/2019 12:03 PM <DIR> ..
12/10/2019 12:03 PM <DIR> node_modules
12/10/2019 12:03 PM 1.436 package.json
10/26/1985 03:15 PM 8.638 README.md
10/26/1985 03:15 PM 2.232.569 sass.dart.js
10/26/1985 03:15 PM 273 sass.js
4 File(s) 2.242.916 bytes
3 Dir(s) 76.631.564.288 bytes free
which method you followed to install sass. I used the standalone method.
You can check my first post:
npm install -g sass
I map this to user variable (environment variable):
C:\Users\ACER\AppData\Roaming\npm\sass
I even try to install sass using:
choco install sass
even after I install it sass --version does not work.
do you have a sass.bat file in C:\Users\ACER\AppData\Roaming\npm\sass path?
Please or to participate in this conversation.