Search code examples
node.jsgulpgulp-sassnode-sass

Gulp-Sass error: %1 is not a valid Win32 application


Have installed gulp-cli, gulp and gulp-sass globally and created the gulpfile.js as below. When I type "gulp" in the command line and press enter, it always gives me an exception saying that: %1 is not a valid Win32 application

Is there anything else I need to do to make the gulp-sass working?

var gulp = require("gulp");
var sass = require("gulp-sass");

gulp.task("default", function(){

});

Solution

  • Maybe you've already solved it. See this issue. I solved it by reinstalling gulp-sass.