3

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

LazyOne
  • 158,824
  • 45
  • 388
  • 391
colin
  • 761
  • 1
  • 11
  • 24
  • 1
    *"invalid executable"* Check your File Watcher settings -- ensure that the file that watcher uses (sass compiler) does actually exist. – LazyOne Oct 31 '20 at 23:51

1 Answers1

3

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

lena
  • 90,154
  • 11
  • 145
  • 150
  • 1
    Thanks for the help. Due to the fact that i've switched from vs code to webstorm just a couple of days ago, I didn't notice the color highlighting of the files, indicating that they are not part of the project somehow. Reopening the project fixed the issue and resolved the file watcher error. – colin Nov 03 '20 at 16:05