less-sbt

155 views
Skip to first unread message

Anton Kulaga

unread,
Jun 4, 2014, 7:45:18 PM6/4/14
to play-fr...@googlegroups.com
When I added sbt-web to my project I immediately got 
"DeserializationException: Expected Int as JsNumber, but got null 
No source available, here is the exception stack trace: ->spray.json.DeserializationException: Expected Int as JsNumber, but got null"
 error. 

Probably something in configuration was missing. I wonder does sbt-less and sbt-web in play require some other config than adding them to plugins.sbt and telling  lazy val main = (project in file(".")).enablePlugins(PlayScala,SbtWeb) ?

Anton Kulaga

unread,
Jun 4, 2014, 7:58:30 PM6/4/14
to play-fr...@googlegroups.com
I managed to find the root of the problem. When I create assets/stylesheets/main.less  and leave if empty I get this thisspray.json.DeserializationException I created an issue on that  https://github.com/playframework/playframework/issues/2991


--
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/IGX_7WTynVc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Best regards,
Anton Kulaga

Rich Dougherty

unread,
Jun 4, 2014, 8:02:04 PM6/4/14
to play-framework
Thanks, an empty file sounds like an edge case that isn't handled.

That issue should be fine, but there's also the sbt-less project if you want to add an issue there: https://github.com/sbt/sbt-less/issues

Cheers
Rich


--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Rich Dougherty - @richdougherty
Engineer - Typesafe, Inc

Anton Kulaga

unread,
Jun 5, 2014, 9:17:53 AM6/5/14
to play-fr...@googlegroups.com
>That issue should be fine, but there's also the sbt-less project if you want to add an issue there: https://github.com/sbt/sbt-less/issues

Thank for the suggestion. I think sbt-less has a big room for improvements as it is very hard to deal with its errors ( https://github.com/sbt/sbt-less/issues/21 ) 
Reply all
Reply to author
Forward
0 new messages