Skip to content

ScalaJs tests fail with ECONNREFUSED after 0.10.10 update #2204

Closed
@carlosedp

Description

After updating mill to 0.10.10 (I was using 0.10.9 before and it worked fine), I started to get ECONNREFUSED for the ScalaJS tests in my project: carlosedp/riscvassembler#13

❯ ./mill riscvassembler.scalajs\[3.2.0,1.11.0\].test
[27/104] de.tobiasroeser.mill.vcs.version.VcsVersion.vcsState
[63/104] riscvassembler.scalajs[3.2.0,1.11.0].compile
[info] compiling 5 Scala sources to /Users/cdepaula/repos/riscvassembler/out/riscvassembler/scalajs/3.2.0/1.11.0/compile.dest/classes ...
[info] done compiling
[92/104] riscvassembler.scalajs[3.2.0,1.11.0].test.compile
[info] compiling 4 Scala sources to /Users/cdepaula/repos/riscvassembler/out/riscvassembler/scalajs/3.2.0/1.11.0/test/compile.dest/classes ...
[info] done compiling
[104/104] riscvassembler.scalajs[3.2.0,1.11.0].test.test
Starting process: node
Scala.js Com failed: Error: connect ECONNREFUSED ::1:58183
1 targets failed
riscvassembler.scalajs[3.2.0,1.11.0].test.test org.scalajs.testing.common.RPCCore$ClosedException: org.scalajs.testing.adapter.JSEnvRPC$RunTerminatedException
org.scalajs.testing.adapter.JSEnvRPC$RunTerminatedException
org.scalajs.jsenv.ExternalJSRun$NonZeroExitException: exited with code 255

My lib is built for Scala JVM, ScalaJS and ScalaNative. The error doesn't happen using 0.10.9 (for any platform) or with 0.10.10 for JVM / Native.

Also the error happens on all Scala/ScalaJS version combinations. It appears to be in the connection to Nodejs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions