You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Pete Whelpton (Jira)" <ji...@apache.org> on 2019/09/19 15:47:00 UTC

[jira] [Commented] (NETBEANS-588) Sass installed via Chocolatey not compiling

    [ https://issues.apache.org/jira/browse/NETBEANS-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16933527#comment-16933527 ] 

Pete Whelpton commented on NETBEANS-588:
----------------------------------------

Netbeans SASS support was written for the original Ruby SASS.  Modern SASS implementations (Dart SASS et al) are based on libsass.

 

There is very limited/incomplete support for libsass already in Netbeans (command line flags are NOT supported - but it should compile).  To implement the workaround:

 
1) Open your netbeans.conf file (/etc/netbeans.conf in the NB installation folder)
 
2) Add the following to the netbeans_default_options parameter: -J-Dnb.sass.libsass=true
 
3) Launch Netbeans, Tools -> Options -> HTML5/JS -> CSS PreProcessors and configure it to point to your libsass implementation (e.g. the sass.bat file in your dart-sass installation folder)

> Sass installed via Chocolatey not compiling
> -------------------------------------------
>
>                 Key: NETBEANS-588
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-588
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 8.2
>            Reporter: Óscar
>            Priority: Major
>
> I installed Sass via Chocolatey and get this error in the Netbeans console:
> {color:#ff0000}"C:\ProgramData\chocolatey\lib\sass\tools\sass.bat" "-cache-location" "C:\Users\oxk4r\AppData\Local\NetBeans\Cache\8.2\sass-compiler" "debug-info" "-style" "compact" "C:\xampp\htdocs\SASS_01\scss\style.scss" "C:\xampp\htdocs\SASS_01\css\style.css" {color}
> {color:#ff0000}Could not find an option named "cache-location".{color} 
> And no *.css file is generated at all.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists