Sublime Forum

Can not compile sass


mac OS catalina Newest

I can compile sass by cada2.

but I can not compile sass sublimetext3.
before I installed pycharm & anaconda.
is this reason?

help me.

[Errno 2] No such file or directory: ‘sass’
[cmd: [‘sass’, ‘–update’, ‘/Users/hogehoge/Desktop/sublime-test/css/styles.scss:/Users/hogehoge/Desktop/sublime-test/css/styles.css’, ‘–stop-on-error’, ‘–no-cache’]]
[dir: /Users/hogehoge/Desktop/sublime-test/css]
[path: /Users/hogehoge/anaconda3/bin:/Users/hogehoge/anaconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin]



The error is the operating system telling you that you told it to run the program named sass, but it doesn’t know what that is; have you installed sass on your computer?

Note that other software such as PyCharm and the like often contain an absolute kitchen sink of everything you could ever want or need while using them, so it’s possible that whatever you used previously has its own private copy of sass installed that it was using.

Sublime doesn’t include that sort of thing, so if you install a package that needs an external program, it’s generally up to you to install it. The documentation for packages usually makes mention of this and how/where to install things or how to configure the package to find it.



thank you!