Sass compiler not working in sublime text 3

故事扮演 提交于 2019-12-04 10:04:12

Thankfully, I found the answer here...

If you are receiving the 'sass is not recognized as an internal or external command' error... ...and have Sass installed, you have to add it to your system's PATH variable.

At the end of the string, add ;C:\Ruby192\bin.

Instructions for altering PATH variable can be found here.

Windows Vista and Windows 7 users:

  1. From the Desktop, right-click My Computer and click Properties.
  2. Click Advanced System Settings link in the left column.
  3. In the System Properties window click the Environment Variables button.

Windows 2000 and Windows XP users:

The path is now managed by Windows 2000 and Windows XP and not the autoexec.bat or autoexec.nt files as was done with earlier versions of Windows. To change the system environment variables, follow the below steps.

  1. From the Desktop, right-click My Computer and click Properties.
  2. In the System Properties window, click on the Advanced tab.
  3. In the Advanced section, click the Environment Variables button.

Finally, in the Environment Variables window (as shown below), highlight the Path variable in the Systems Variable section and click the Edit button. Add or modify the path lines with the paths you wish the computer to access. Each different directory is separated with a semicolon as shown below.

C:\Program Files;C:\Winnt;C:\Winnt\System32

Note that the numbers "192" given in the example in the first link ( ;C:\Ruby192\bin ) will differ for each version of Ruby.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!