scalacenter / scalajs-bundler

https://scalacenter.github.io/scalajs-bundler
Other
237 stars 101 forks source link

Publish for scala.js 1.0.0-M3 #246

Closed ngbinh closed 5 years ago

ngbinh commented 6 years ago

scala.js bundler 0.13-RC1 I am trying to update scala.js to 1.0.0-M3 and I am seeing this

[error] java.lang.NoClassDefFoundError: org/scalajs/core/tools/linker/backend/ModuleKind
[error]         at java.lang.Class.forName0(Native Method)
[error]         at java.lang.Class.forName(Class.java:348)
[error]         at sbt.internal.inc.ModuleUtilities$.getObject(ModuleUtilities.scala:20)
[error]         at sbt.internal.inc.ModuleUtilities$.getCheckedObject(ModuleUtilities.scala:27)
[error]         at sbt.internal.inc.ModuleUtilities$.$anonfun$getCheckedObjects$1(ModuleUtilities.scala:31)
[error]         at scala.collection.immutable.Stream.$anonfun$map$1(Stream.scala:415)
[error]         at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1169)
[error]         at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1159)
[error]         at scala.collection.generic.Growable.loop$1(Growable.scala:54)
[error]         at scala.collection.generic.Growable.$plus$plus$eq(Growable.scala:58)
[error]         at scala.collection.generic.Growable.$plus$plus$eq$(Growable.scala:50)
[error]         at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:186)
[error]         at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:44)
[error]         at scala.collection.TraversableLike.$plus$plus(TraversableLike.scala:147)
[error]         at scala.collection.TraversableLike.$plus$plus$(TraversableLike.scala:143)
[error]         at scala.collection.immutable.List.$plus$plus(List.scala:207)
[error]         at sbt.internal.PluginDiscovery$.discoverAll(PluginDiscovery.scala:54)
[error]         at sbt.internal.Load$.loadPlugins(Load.scala:1267)
[error]         at sbt.internal.Load$.loadPluginDefinition(Load.scala:1212)
[error]         at sbt.internal.Load$.buildPlugins(Load.scala:1191)
[error]         at sbt.internal.Load$.plugins(Load.scala:1174)
[error]         at sbt.internal.Load$.$anonfun$loadUnit$2(Load.scala:683)
[error]         at sbt.internal.Load$.timed(Load.scala:1343)
[error]         at sbt.internal.Load$.$anonfun$loadUnit$1(Load.scala:683)
[error]         at sbt.internal.Load$.timed(Load.scala:1343)
[error]         at sbt.internal.Load$.loadUnit(Load.scala:677)
[error]         at sbt.internal.Load$.$anonfun$builtinLoader$4(Load.scala:477)
[error]         at sbt.internal.BuildLoader$.$anonfun$componentLoader$5(BuildLoader.scala:158)
[error]         at sbt.internal.BuildLoader.apply(BuildLoader.scala:223)
[error]         at sbt.internal.Load$.loadURI$1(Load.scala:539)
[error]         at sbt.internal.Load$.loadAll(Load.scala:555)
[error]         at sbt.internal.Load$.loadURI(Load.scala:485)
[error]         at sbt.internal.Load$.load(Load.scala:464)
[error]         at sbt.internal.Load$.$anonfun$apply$1(Load.scala:253)
[error]         at sbt.internal.Load$.timed(Load.scala:1343)
[error]         at sbt.internal.Load$.apply(Load.scala:253)
[error]         at sbt.internal.Load$.defaultLoad(Load.scala:69)
[error]         at sbt.BuiltinCommands$.liftedTree1$1(Main.scala:707)
[error]         at sbt.BuiltinCommands$.doLoadProject(Main.scala:707)
[error]         at sbt.BuiltinCommands$.$anonfun$loadProjectImpl$2(Main.scala:680)
[error]         at sbt.Command$.$anonfun$applyEffect$4(Command.scala:134)
[error]         at sbt.Command$.$anonfun$applyEffect$2(Command.scala:130)
[error]         at sbt.MainLoop$.processCommand(MainLoop.scala:154)
[error]         at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:137)
[error]         at sbt.State$$anon$1.runCmd$1(State.scala:242)
[error]         at sbt.State$$anon$1.process(State.scala:248)
[error]         at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:137)
[error]         at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error]         at sbt.MainLoop$.next(MainLoop.scala:137)
[error]         at sbt.MainLoop$.run(MainLoop.scala:130)
[error]         at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:108)
[error]         at sbt.io.Using.apply(Using.scala:22)
[error]         at sbt.MainLoop$.runWithNewLog(MainLoop.scala:102)
[error]         at sbt.MainLoop$.runAndClearLast(MainLoop.scala:58)
[error]         at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:43)
[error]         at sbt.MainLoop$.runLogged(MainLoop.scala:35)
[error]         at sbt.StandardMain$.runManaged(Main.scala:113)
[error]         at sbt.xMain.run(Main.scala:76)
[error]         at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[error]         at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[error]         at xsbt.boot.Launch$.run(Launch.scala:109)
[error]         at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[error]         at xsbt.boot.Launch$.launch(Launch.scala:117)
[error]         at xsbt.boot.Launch$.apply(Launch.scala:18)
[error]         at xsbt.boot.Boot$.runImpl(Boot.scala:56)
[error]         at xsbt.boot.Boot$.main(Boot.scala:18)
[error]         at xsbt.boot.Boot.main(Boot.scala)
[error] Caused by: java.lang.ClassNotFoundException: org.scalajs.core.tools.linker.backend.ModuleKind
[error]         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[error]         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[error]         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[error]         at java.lang.Class.forName0(Native Method)
[error]         at java.lang.Class.forName(Class.java:348)
[error]         at sbt.internal.inc.ModuleUtilities$.getObject(ModuleUtilities.scala:20)
[error]         at sbt.internal.inc.ModuleUtilities$.getCheckedObject(ModuleUtilities.scala:27)
[error]         at sbt.internal.inc.ModuleUtilities$.$anonfun$getCheckedObjects$1(ModuleUtilities.scala:31)
[error]         at scala.collection.immutable.Stream.$anonfun$map$1(Stream.scala:415)
[error]         at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1169)
[error]         at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1159)
[error]         at scala.collection.generic.Growable.loop$1(Growable.scala:54)
[error]         at scala.collection.generic.Growable.$plus$plus$eq(Growable.scala:58)
[error]         at scala.collection.generic.Growable.$plus$plus$eq$(Growable.scala:50)
[error]         at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:186)
[error]         at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:44)
[error]         at scala.collection.TraversableLike.$plus$plus(TraversableLike.scala:147)
[error]         at scala.collection.TraversableLike.$plus$plus$(TraversableLike.scala:143)
[error]         at scala.collection.immutable.List.$plus$plus(List.scala:207)
[error]         at sbt.internal.PluginDiscovery$.discoverAll(PluginDiscovery.scala:54)
[error]         at sbt.internal.Load$.loadPlugins(Load.scala:1267)
[error]         at sbt.internal.Load$.loadPluginDefinition(Load.scala:1212)
[error]         at sbt.internal.Load$.buildPlugins(Load.scala:1191)
[error]         at sbt.internal.Load$.plugins(Load.scala:1174)
[error]         at sbt.internal.Load$.$anonfun$loadUnit$2(Load.scala:683)
[error]         at sbt.internal.Load$.timed(Load.scala:1343)
[error]         at sbt.internal.Load$.$anonfun$loadUnit$1(Load.scala:683)
[error]         at sbt.internal.Load$.timed(Load.scala:1343)
[error]         at sbt.internal.Load$.loadUnit(Load.scala:677)
[error]         at sbt.internal.Load$.$anonfun$builtinLoader$4(Load.scala:477)
[error]         at sbt.internal.BuildLoader$.$anonfun$componentLoader$5(BuildLoader.scala:158)
[error]         at sbt.internal.BuildLoader.apply(BuildLoader.scala:223)
[error]         at sbt.internal.Load$.loadURI$1(Load.scala:539)
[error]         at sbt.internal.Load$.loadAll(Load.scala:555)
[error]         at sbt.internal.Load$.loadURI(Load.scala:485)
[error]         at sbt.internal.Load$.load(Load.scala:464)
[error]         at sbt.internal.Load$.$anonfun$apply$1(Load.scala:253)
[error]         at sbt.internal.Load$.timed(Load.scala:1343)
[error]         at sbt.internal.Load$.apply(Load.scala:253)
[error]         at sbt.internal.Load$.defaultLoad(Load.scala:69)
[error]         at sbt.BuiltinCommands$.liftedTree1$1(Main.scala:707)
[error]         at sbt.BuiltinCommands$.doLoadProject(Main.scala:707)
[error]         at sbt.BuiltinCommands$.$anonfun$loadProjectImpl$2(Main.scala:680)
[error]         at sbt.Command$.$anonfun$applyEffect$4(Command.scala:134)
[error]         at sbt.Command$.$anonfun$applyEffect$2(Command.scala:130)
[error]         at sbt.MainLoop$.processCommand(MainLoop.scala:154)
[error]         at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:137)
[error]         at sbt.State$$anon$1.runCmd$1(State.scala:242)
[error]         at sbt.State$$anon$1.process(State.scala:248)
[error]         at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:137)
[error]         at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error]         at sbt.MainLoop$.next(MainLoop.scala:137)
[error]         at sbt.MainLoop$.run(MainLoop.scala:130)
[error]         at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:108)
[error]         at sbt.io.Using.apply(Using.scala:22)
[error]         at sbt.MainLoop$.runWithNewLog(MainLoop.scala:102)
[error]         at sbt.MainLoop$.runAndClearLast(MainLoop.scala:58)
[error]         at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:43)
[error]         at sbt.MainLoop$.runLogged(MainLoop.scala:35)
[error]         at sbt.StandardMain$.runManaged(Main.scala:113)
[error]         at sbt.xMain.run(Main.scala:76)
[error]         at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[error]         at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[error]         at xsbt.boot.Launch$.run(Launch.scala:109)
[error]         at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[error]         at xsbt.boot.Launch$.launch(Launch.scala:117)
[error]         at xsbt.boot.Launch$.apply(Launch.scala:18)
[error]         at xsbt.boot.Boot$.runImpl(Boot.scala:56)
[error]         at xsbt.boot.Boot$.main(Boot.scala:18)
[error]         at xsbt.boot.Boot.main(Boot.scala)
cquiroz commented 6 years ago

we are probably not very close to a 1.0.0-x release. I think it requires some internal changes

ngbinh commented 6 years ago

Is there something we can do to help to speed this up? I would like to use scala.js 1.X as soon as we can

julienrf commented 5 years ago

I’m closing this issue because it has been addressed by #292.