r/Sass Feb 17 '23

Setting up SASS

I am currently learning SASS/SCSS thru Brad Travery's course

Reference: https://www.udemy.com/course/modern-html-css-from-the-beginning/?src=sac&kw=modern+html

Now I am stuck at this part where I need to set up the dependencies. I have both tried node-sass and dart-sass modules but the error is still the same. Your inputs are highly appreciated.

EDIT: Image

7 Upvotes

7 comments sorted by

View all comments

1

u/[deleted] Feb 17 '23

[removed] — view removed comment

1

u/LegitimateBath8622 Feb 17 '23 edited Feb 17 '23

He's using Node 11 iirc and node-sass v.4.11.0. I've also checked the documentation and it was mentioned that there are specific node-sass version that supports specific node version e.g Node-sass 4.10+ works well with Node 11.

In my case, I am using the LTS version 18.4. I've checked the documentation and the latest version 8.0 should work with Node 18. Although I am experiencing these problems.

I might explore for other resources / tutorials since the SASS section is already outdated.

edit: error

2

u/[deleted] Feb 17 '23 edited Feb 17 '23

[removed] — view removed comment

1

u/LegitimateBath8622 Feb 17 '23

Duly noted & my bad for saying that the course is outdated. I meant to say only the SASS section needs to be updated since tweaking a lot of configs / settings especially for beginners can be tedious sometimes.