I got this error setting up a legacy gulpfile:
gulp-sass no longer has a default Sass compiler; please set one yourself.
Both the "sass" and "node-sass" packages are permitted.
For example, in your gulpfile
Add this on top of your gulpfile.js:
const sass = require('gulp-sass')(require('sass'));
Of course, make sure both are installed.