scalatags-rx icon indicating copy to clipboard operation
scalatags-rx copied to clipboard

Compile issues and compatibility with recent scalatags library

Open nondeterministic opened this issue 1 year ago • 0 comments

Hi there,

If I try to upgrade the scalatags version in my Scala 2.13.11 project from 0.9.4 to 0.12.0 I get the following error:

[backend] $ compile
[info] Compiling 42 Scala sources to /home/baueran/Development/Scala/oorep/project/shared/.js/target/scala-2.13/classes ...
[error] /home/baueran/Development/Scala/oorep/project/shared/src/main/scala/org/multics/baueran/frep/shared/frontend/MateriaMedicaView.scala:6:8: Symbol 'type org.scalajs.dom.package.Element' is missing from the classpath.
[error] This symbol is required by 'value scalatags.rx.RxNodeInstances.e'.
[error] Make sure that type Element is in your classpath and check for conflicting dependencies with `-Ylog-classpath`.
[error] A full rebuild may help if 'RxNodeInstances.class' was compiled against an incompatible version of org.scalajs.dom.package.

It seems, I need a "matching" scalatags-rx version (see last line of the error). Or is there something else I can try and do?

Many thanks!

nondeterministic avatar Jul 16 '23 15:07 nondeterministic