gpt4 book ai didi

ruby - Netbeans - 安装 SASS

转载 作者:数据小太阳 更新时间:2023-10-29 06:53:58 25 4
gpt4 key购买 nike

我曾多次尝试在 netbeans 上安装 SASS。我遵循了以下教程:

http://kgagliardo.com/blog/netbeans-sass-windows-7

我在创建和尝试保存 SASS 文件时遇到以下错误,但没有创建 CSS 文件。

""C:\Ruby193\bin\sass.bat" "--cache-location" "C:\Users\Leanne\AppData\Local\NetBeans\Cache\7.4\sass-compiler" "C:\Users\Leanne\Documents\work\freelance\sites\fws_templates\gamer\scss\store.scss" "C:\Users\Leanne\Documents\work\freelance\sites\fws_templates\gamer\css\store.css" '"ruby.exe"' is not recognized as an internal or external command, operable program or batch file. Done."

我整个上午都被困在这个问题上,请帮忙...

更新我已尝试按照下面提供的说明进行操作,但它仍然不起作用,尽管我确实收到了一条略有不同的错误消息:

"C:\Ruby193\bin\sass.bat" "--cache-location" "C:\Users\Leanne\AppData\Local\NetBeans\Cache\7.4\sass-compiler" "C:\Users\Leanne\Documents\work\freelance\sites\fws_templates\gamer\scss\store.scss" "C:\Users\Leanne\Documents\work\freelance\sites\fws_templates\gamer\css\store.css" Syntax error: File to import not found or unreadable: foundation/components/accordion. Load path: C:/Users/Leanne/Documents/work/freelance/sites/fws_templates (DEPRECATED) on line 10 of C:\Users\Leanne\Documents\work\freelance\sites\fws_templates\gamer\scss\foundation\foundation.scss from line 11 of C:\Users\Leanne\Documents\work\freelance\sites\fws_templates\gamer\scss\store.scss Use --trace for backtrace. Done.

但是现在我只是再次收到原始错误消息。不知道该怎么办。请参见下图,显示我已按照说明完成所有操作(我认为)。

http://i.stack.imgur.com/Eekyt.png

enter image description here

最佳答案

您的路径环境变量指向错误的文件夹

你的 ruby​​ 路径是 C:\Ruby193\bin

返回并编辑您的路径环境变量以指向 C:\Ruby193\bin 。现在你有 C:\Ruby\192\bin

编辑

现在删除 Ruby 和 193 之间的反斜杠。
您的路径设置为:C:\Ruby\193\bin :-) !
你的 .bat 在文件夹中:C:\Ruby193\bin

提示

转到选项

杂项 --> CSS 预处理器

检查:生成额外信息(调试)

关于ruby - Netbeans - 安装 SASS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22660942/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com