greencatsoft / scalajs-angular-todomvc

TodoMVC example using scalajs-angular
Apache License 2.0
57 stars 17 forks source link

Unexpected exception on app startup : IRVersionNotSupportedException #10

Closed Klotair closed 7 years ago

Klotair commented 7 years ago

Hi Guys,

I'm coming from AngularJS and I'm trying to get into Scala.JS so I picked up your project to give it a try. After a long time while sbt resolved all the dependencies I tried to run the app and all I get was that error:

org.scalajs.core.ir.IRVersionNotSupportedException: Failed to deserialize info of file compiled with Scala.js 0.6.14 (supported: 0.6.0, 0.6.3, 0.6.4, 0.6.6, 0.6.8, 0.6.5): C:\Users\comball\.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
     org.scalajs.core.tools.io.VirtualSerializedScalaJSIRFile$class.info(VirtualFiles.scala:148)
     org.scalajs.core.tools.io.MemVirtualSerializedScalaJSIRFile.info(MemFiles.scala:104)
     ...

Please tell me if it is more about my environment or if it is linked to this project, I have no idea :)

Thanks

mysticfall commented 7 years ago

I'm sorry for the very late response. It's my bad that I forgot to update the demo to use the same version of Scala.js library as the core project.

Thanks for bringing this up to my notice.