I am new to SASS and trying to compile my SASS file locally. However I am stuck at this point and have tried everything mentioned but somehow still get the same if not similar errors. Can't seem to tell what I am missing. enter image description here
You can compile your scss from outside your project and use compiled CSS in your project. Let's say you have a style.scss
file then compile it using below command:
sass --watch style.scss:style.css
Now use compiled CSS file in your project. There's no need to use node-sass this way.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.