Update dependencies
er1c opened this issue · 1 comments
er1c commented
After doing the sbt run
and loading up http://localhost:9000 - the example app generates an internal error exception.
[warn] /Users/eric/Work/scalajs-angular-todomvc/js/src/main/scala/todomvc/example/TodoApp.scala:9: trait JSApp in package js is deprecated: Consult the Scaladoc of js.JSApp for migration tips.
[warn] object TodoApp extends JSApp {
[warn] ^
[warn] one warning found
[trace] Stack trace suppressed: run last todomvcJS/compile:scalaJSIR for the full output.
[error] (todomvcJS/compile:scalaJSIR) org.scalajs.core.ir.IRVersionNotSupportedException: Failed to deserialize info of file compiled with Scala.js 0.6.17 (supported: 0.6.0, 0.6.13, 0.6.3, 0.6.4, 0.6.6, 0.6.14, 0.6.8, 0.6.5, 0.6.15): /Users/eric/.ivy2/cache/com.greencatsoft/scalajs-angular_sjs0.6_2.11/jars/scalajs-angular_sjs0.6_2.11-0.8-SNAPSHOT.jar:com/greencatsoft/angularjs/AttributeDirective.sjsir
[trace] Stack trace suppressed: run last todomvcJS/compile:scalaJSIR for the full output.
[error] (todomvcJS/compile:scalaJSIR) org.scalajs.core.ir.IRVersionNotSupportedException: Failed to deserialize info of file compiled with Scala.js 0.6.17 (supported: 0.6.0, 0.6.13, 0.6.3, 0.6.4, 0.6.6, 0.6.14, 0.6.8, 0.6.5, 0.6.15): /Users/eric/.ivy2/cache/com.greencatsoft/scalajs-angular_sjs0.6_2.11/jars/scalajs-angular_sjs0.6_2.11-0.8-SNAPSHOT.jar:com/greencatsoft/angularjs/AttributeDirective.sjsir
[error] application -
! @798b7o079 - Internal server error, for (GET) [/] ->
play.sbt.PlayExceptions$UnexpectedException: Unexpected exception[IRVersionNotSupportedException: Failed to deserialize info of file compiled with Scala.js 0.6.17 (supported: 0.6.0, 0.6.13, 0.6.3, 0.6.4, 0.6.6, 0.6.14, 0.6.8, 0.6.5, 0.6.15): /Users/eric/.ivy2/cache/com.greencatsoft/scalajs-angular_sjs0.6_2.11/jars/scalajs-angular_sjs0.6_2.11-0.8-SNAPSHOT.jar:com/greencatsoft/angularjs/AttributeDirective.sjsir]
at play.sbt.run.PlayReload$$anonfun$taskFailureHandler$1.apply(PlayReload.scala:51)
at play.sbt.run.PlayReload$$anonfun$taskFailureHandler$1.apply(PlayReload.scala:44)
at scala.Option.map(Option.scala:145)
at play.sbt.run.PlayReload$.taskFailureHandler(PlayReload.scala:44)
at play.sbt.run.PlayReload$.compileFailure(PlayReload.scala:40)
at play.sbt.run.PlayReload$$anonfun$compile$2$$anonfun$apply$3.apply(PlayReload.scala:20)
at play.sbt.run.PlayReload$$anonfun$compile$2$$anonfun$apply$3.apply(PlayReload.scala:20)
at scala.util.Either$LeftProjection.map(Either.scala:377)
at play.sbt.run.PlayReload$$anonfun$compile$2.apply(PlayReload.scala:20)
at play.sbt.run.PlayReload$$anonfun$compile$2.apply(PlayReload.scala:18)
Caused by: org.scalajs.core.ir.IRVersionNotSupportedException: Failed to deserialize info of file compiled with Scala.js 0.6.17 (supported: 0.6.0, 0.6.13, 0.6.3, 0.6.4, 0.6.6, 0.6.14, 0.6.8, 0.6.5, 0.6.15): /Users/eric/.ivy2/cache/com.greencatsoft/scalajs-angular_sjs0.6_2.11/jars/scalajs-angular_sjs0.6_2.11-0.8-SNAPSHOT.jar:com/greencatsoft/angularjs/AttributeDirective.sjsir
at org.scalajs.core.tools.io.VirtualSerializedScalaJSIRFile$class.info(VirtualFiles.scala:148)
at org.scalajs.core.tools.io.MemVirtualSerializedScalaJSIRFile.info(MemFiles.scala:104)
at org.scalajs.core.tools.io.IRFileCache$PersistentIRFile.<init>(IRFileCache.scala:246)
at org.scalajs.core.tools.io.IRFileCache$PersistedFiles$$anonfun$update$4.apply(IRFileCache.scala:221)
at org.scalajs.core.tools.io.IRFileCache$PersistedFiles$$anonfun$update$4.apply(IRFileCache.scala:221)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
Caused by: org.scalajs.core.ir.IRVersionNotSupportedException: This version (0.6.17) of Scala.js IR is not supported. Supported versions are: 0.6.0, 0.6.13, 0.6.3, 0.6.4, 0.6.6, 0.6.14, 0.6.8, 0.6.5, 0.6.15
at org.scalajs.core.ir.InfoSerializers$Deserializer.readHeader(InfoSerializers.scala:172)
at org.scalajs.core.ir.InfoSerializers$Deserializer.deserialize(InfoSerializers.scala:103)
at org.scalajs.core.ir.InfoSerializers$.deserializeWithVersion(InfoSerializers.scala:35)
at org.scalajs.core.ir.InfoSerializers$.deserialize(InfoSerializers.scala:31)
at org.scalajs.core.tools.io.VirtualSerializedScalaJSIRFile$class.info(VirtualFiles.scala:145)
at org.scalajs.core.tools.io.MemVirtualSerializedScalaJSIRFile.info(MemFiles.scala:104)
at org.scalajs.core.tools.io.IRFileCache$PersistentIRFile.<init>(IRFileCache.scala:246)
at org.scalajs.core.tools.io.IRFileCache$PersistedFiles$$anonfun$update$4.apply(IRFileCache.scala:221)
at org.scalajs.core.tools.io.IRFileCache$PersistedFiles$$anonfun$update$4.apply(IRFileCache.scala:221)
mysticfall commented
Fixed by #14. Thanks for the report!