Error: spawn ENOENT: missing the sass executable

后端 未结 4 934
小蘑菇
小蘑菇 2021-02-15 16:02

I\'m using bash in windows.

Getting this error when trying to run a sass compiler command via gulp. I have Ruby & Sass installed. Sass works fine when running it man

4条回答
  •  长情又很酷
    2021-02-15 16:09

    For my case the error was:

    gulp-notify: [Error running Gulp] Error: spawn sass ENOENT
    

    To fix it, I did the following:

    In your project root:

    npm install --save-dev gulp-ruby-sass
    

    Which installed: gulp-ruby-sass@1.0.5 node_modules/gulp-ruby-sass

    Then:

    sudo gem install sass
    

提交回复
热议问题