-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
play 2.3 - sass 0.4.0 - not found: value sassOptions #38
Comments
Hi, I have a different error with a similar build.sbt: import play.PlayJava lazy val root = (project in file(".")).enablePlugins(PlayJava, net.litola.SassPlugin).settings( scalaVersion := "2.11.1" libraryDependencies ++= Seq( which throws: error @6kgip0kg9: Compilation error in C:\CC_Work\KatzH_cx_view\CPRR_II_SRC\cx\app\assets\stylesheets\application.scss:0 ! @6kgip0kg9 - Internal server error, for (GET) [/] -> play.PlayExceptions$AssetCompilationException: Compilation error[Sass compiler: ruby.exe: No such file or directory -- C:/CC_Work/KatzH_cx_view/CPRR_II_SRC/cx/sass (LoadError)] From debugging the scala code in Idea 14, I have determined that I can invoke the same command from the workspace and obtain the correct css mapping: sass.bat -l -I C:\CC_Work\KatzH_cx_view\CPRR_II_SRC\cx\app\assets\stylesheets --sourcemap=none --style compact --compass --scss c:\CC_Work\KatzH_cx_view\CPRR_II_SRC\cx\app\assets\stylesheets\application.scss c:\Temp\application.css ruby/sass and compass are all in my path in windows. The config.rb is in C:/CC_Work/KatzH_cx_view/CPRR_II_SRC/cx and specifies the following: http_path = "/" and again from debugging the scala components, unclear why sass' underlying Ruby is looking for a SASS directory in the wrong location when sass_dir is clearly specified. Any debugging suggestions? Thanks, |
Solution was jumping ship: |
Thanks nanothermite - Shaggy's fork is working well for me |
[info] Loading project definition from /Users/kirill-laptop/workspace/explain-project-git/project
[error] /Users/kirill-laptop/workspace/explain-project-git/project/Build.scala:53: not found: value sassOptions
[error] sassOptions := Seq("--compass"),
[error] ^
[error] one error found
error Compilation failed
Doesn't work for me :(
The text was updated successfully, but these errors were encountered: