Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

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

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...