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

Categories

0 votes
587 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 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...