dlmanning / gulp-sass

SASS plugin for gulp
MIT License
1.56k stars 381 forks source link

Support Node 15 #778

Closed edwin-egalite closed 3 years ago

edwin-egalite commented 3 years ago

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

merlinschumacher commented 3 years ago

It works to forcibly install node-sass@5.0.1

edwin-egalite commented 3 years ago

It works to forcibly install node-sass@5.0.1

Could you please advise how to do this? Thanks.

bonesoul commented 3 years ago

also looking for it @merlinschumacher

merlinschumacher commented 3 years ago

Just do

npm install node-sass@5.0.0 --save-dev

in your project directory.

bonesoul commented 3 years ago

should be node-sass@5.0.0 i guess.

merlinschumacher commented 3 years ago

should be node-sass@5.0.0 i guess.

right! fixed it.

Trainmaster commented 3 years ago

gulp-sass@4.1.0 requires "node-sass": "^4.8.3" which does not allow node-sass@5.0.0.

selfisekai commented 3 years ago

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

NickSharf commented 3 years ago

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.

zetareticoli commented 3 years ago

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?

NickSharf commented 3 years ago

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 .

zetareticoli commented 3 years ago

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

NickSharf commented 3 years ago

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)

xzyfer commented 3 years ago

Fixed in v5.0.0