Gulp-sass: Support Node 15

Created on 2 Nov 2020  路  13Comments  路  Source: dlmanning/gulp-sass

Sass 4 does not support Node 15. Hence, can't install gulp-sass on Node 15.

Most helpful comment

I created a fork of gulp-sass that doesn't list node-sass as a dependency at all:
https://yarnpkg.com/package/@selfisekai/gulp-sass
https://www.npmjs.com/package/@selfisekai/gulp-sass
https://git.sakamoto.pl/selfisekai/gulp-sass

All 13 comments

It works to forcibly install [email protected]

It works to forcibly install [email protected]

Could you please advise how to do this? Thanks.

also looking for it @merlinschumacher

Just do

npm install [email protected] --save-dev

in your project directory.

should be [email protected] i guess.

should be [email protected] i guess.

right! fixed it.

[email protected] requires "node-sass": "^4.8.3" which does not allow [email protected].

I created a fork of gulp-sass that doesn't list node-sass as a dependency at all:
https://yarnpkg.com/package/@selfisekai/gulp-sass
https://www.npmjs.com/package/@selfisekai/gulp-sass
https://git.sakamoto.pl/selfisekai/gulp-sass

There is a package based on this project with dart-sass replacement https://www.npmjs.com/package/gulp-dart-sass. Try to use it instead of gulp-sass.

There is a package based on this project with dart-sass replacement https://www.npmjs.com/package/gulp-dart-sass. Try to use it instead of gulp-sass.

Does it work on Apple Silicon?

There is a package based on this project with dart-sass replacement https://www.npmjs.com/package/gulp-dart-sass. Try to use it instead of gulp-sass.

Does it work on Apple Silicon?

I use my terminal app with Rosetta 2 because Node and some apps still have some issues with M1 processor. In this mode everything works fine on Node 15 .

Ok! So I should replace gulp-sass with gulp-dart-sass to get things working

Ok! So I should replace gulp-sass with gulp-dart-sass to get things working

Yep. That was the only thing I had to do. I have replaced it in package.json and gulpfile.js. And reinstall all packages (npm i)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sstikkel picture sstikkel  路  8Comments

JamesVanWaza picture JamesVanWaza  路  4Comments

bertez picture bertez  路  8Comments

seeliang picture seeliang  路  4Comments

mrgnou picture mrgnou  路  6Comments