WebStorm SCSS File Watcher错误:可执行文件无效

问题描述

在JetBrains WebStorm IDE中创建新项目后,我遇到了SCSS文件观察器错误。它说:错误:无效的可执行文件,但是我不知道是什么原因导致了该错误

scss文件没什么特别的,但是会弹出错误。请帮助我了解导致该错误的原因。

enter image description here

解决方法

请确保在文件查看器设置的程序字段中为SASS compiler指定有效路径。

请参见https://www.jetbrains.com/help/webstorm/2020.2/transpiling-sass-less-and-scss-to-css.html#install_sass_scsshttps://www.jetbrains.com/help/webstorm/2020.2/transpiling-sass-less-and-scss-to-css.html#create_file_watcher