Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebStorm SCSS File Watcher error: invalid executable

After creating a new project in the JetBrains WebStorm IDE, I ran into an error with the SCSS file watcher. It says: ERROR: invalid executable, but I don't know what causes that error in the first place.

The scss file is nothing special at all, nevertheless the error pops up. Please help me understand what causes that error.

enter image description here

like image 624
colin Avatar asked Oct 14 '25 05:10

colin


1 Answers

Make sure to specify a valid path to SASS compiler in your file watcher settings, Program field.

See https://www.jetbrains.com/help/webstorm/2020.2/transpiling-sass-less-and-scss-to-css.html#install_sass_scss, https://www.jetbrains.com/help/webstorm/2020.2/transpiling-sass-less-and-scss-to-css.html#create_file_watcher

like image 75
lena Avatar answered Oct 17 '25 22:10

lena