Sublime Forum

Can not compile sass

#1

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]
[Finished]

0 Likes

#2

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.

0 Likes

#3

thank you!

0 Likes

#4

hola
veo que en sublime text 4 el sass no compila y esto es un problema, ya que muchas empresas trabajan con esto y no me gustaría dejar de usar SublimeText por no tener bien la opcion de compilar sass.
he buscado en la comunidad y nadie tiene respuesta acerca del tema y es mas, todos dice que me cambie a Visual Studio Code porque no pone tanto problema.
no habrá alguna forma de solucionar dicho problema?

Por su atencion,gracias.

0 Likes

#5

No uso Sass personalmente, pero ¿ha instalado algún paquete relacionado con SASS en Sublime Text? no admite la compilación de SASS directamente desde el primer momento; ese tipo de cosas es competencia de los paquetes de terceros.

0 Likes