Closed Marcamillian closed 10 months ago
gulp-sass
npm install gulp-sass~5.0.1
Now build giving the error
Error in plugin "gulp-sass"
Message:
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:
const sass = require('gulp-sass')(require('sass'));
dart-sass
npm install dart-sass
Issue
When trying to build the project seeing an error from the npm package
node-sass
Steps to Reproduce
npm install
gulp
Observed Outcome
Error thrown
Expected Outcome
Build completes successfully
Potential Fixes
node-sass
node-sass@4.11.0
as part ofgulp-sass@4.0.2
gulp-sass
v5.1.0node-sass
v9.0.0dart-sass