These are chat archives for ThoughtWorksInc/Binding.scala

12th
Dec 2016
jfilali
@jfilali
Dec 12 2016 02:16
trying to create a project with Binding.scala, and I'm getting :
error] found : scala.xml.Elem [error] required: com.thoughtworks.binding.Binding[org.scalajs.dom.raw.Node] [error] <div>Hello</div>
I have added addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
in the build,
Any thought on what I'm missing ?
杨博 (Yang Bo)
@Atry
Dec 12 2016 02:19
Looks like you did not add addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full) setting for your Scala.js project
Note that there are multiple projects for a typical sbt-web + Scala.js build.
jfilali
@jfilali
Dec 12 2016 02:25
For some reason I had to add autoCompilerPlugins := true to make it work
thanks
杨博 (Yang Bo)
@Atry
Dec 12 2016 08:43
Great. @jfilali, would you mind to add this instruction in FAQ, as other guys may experience the same issue.