Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
591 views
in Technique[技术] by (71.8m points)

css - Sass output error in Netbeans 8.2

I installed Sass via Chocolatey and get this error in the Netbeans console:

"C:ProgramDatachocolateylibsassoolssass.bat" "--cache-location" "C:Usersoxk4rAppDataLocalNetBeansCache8.2sass-compiler" "--debug-info" "--style" "compact" "C:xampphtdocsSASS_01scssstyle.scss" "C:xampphtdocsSASS_01cssstyle.css" Could not find an option named "cache-location".

No *.css file is generated at all.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

In your Sass install directory, in file sass.bat, after the command:

set arguments=%*

add the following (replace username with your windows username)...

set arguments=%arguments:--cache-location =%
set arguments=%arguments:C:UsersusernameAppDataLocalNetBeansCache8.2sass-compiler =%
set arguments=%arguments:--debug-info =%

This strips out all of the arguments that are no longer accepted.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...