3
votes

I've installed Atom and Node.js, added my node paths to the system variables, rebooted, then I added SASS Watch package to Atom and when I try to compile a SASS file, I get this error.

SASS Compile Failed Command failed: C:\Windows\system32\cmd.exe /s /c "C:\Users\MYUSER\.atom\packages\sass-watch\node_modules.bin\node-sass "C:\Users\MYUSER\Desktop\project\style.scss" "C:\Users\MYUSER\Desktop\project\style.css"" 'node' is not recognized as an internal or external command, operable program or batch file.

I've read up on it and it's supposed to be a problem with my Path. But I've tried everything and I still couldn't fix it. Can you help me with this? I would like to replace Netbeans with Atom, but Netbeans is the only one that works for now.

2

2 Answers

0
votes

Are you sure you have it on the path? What does echo %PATH% returns if you run in in the command line?

0
votes

It's quite an old post, but I've just had the same issue and stumbled upon it.

I solved it simply by installing node-sass globally:

npm install -g node-sass