Open andromaque opened 3 years ago
The update is rather doable:
Run the following commands:
yarn remove node-sass
yarn add --dev sass
and adjust the build scripts in package.json from node-sass sass/ -o ./
to sass sass/:./
and node-sass sass/ -o ./ --source-map true --output-style expanded --indent-type tab --indent-width 1 -w
to sass sass/:./ --source-map true --output-style expanded --indent-type tab --indent-width 1 -w
.
I came across this problem today and tried the commits made by @vjandrea. I was able to successfully run a working WATCH script, but the "sass" package (replacement of node-sass) from NPM only gave me more issues when compiling. I ended up installing NVM and then install the latest usable versions of NPM and Node JS which are 6.14.8 and v14.14.0. WATCH script is working fine for my project again.
Node Sass has been deprecated in October 2020 (https://sass-lang.com/blog/libsass-is-deprecated) Now the recommendation is to use "sass" instead of "node-sass".
We have environments where node-sass is not present anymore, and it's not possible to use underscores themes because they are still using node-sass.
Is it planned to update it?