Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试让 docpad 在 Windows 7 系统上与 scss 一起工作。
据我所知,我已经安装了 sass 并且可以正常工作,因为它从命令行开始运行。环境变量中的路径是正确的。
docpad 正在工作,因为我在 out 文件夹中获得了编译的代码。
但是当我添加一个 css.scss 文件时出现错误
错误:SCSS 在您的系统上似乎不可用
我试图添加一个插件配置:
插件:sass:scssPath:“/Ruby139/bin”
但这给出了另一个错误
有谁知道现在要尝试什么?
所以答案是设置 ruby 文件夹中 sass 批处理文件的正确路径:
plugins: sass: sassPath: 's:/Ruby193/bin/sass.bat' scssPath: 's:/Ruby193/bin/scss.bat'