Compdigitec Labs

Archive for September, 2021

Scala.js – Referring to non-existent class

Thursday, September 9th, 2021

Related issue: https://github.com/scala-js/scala-js/issues/629 If the issue is coming from a shared module being used in both a Scala.js and JVM setting, the issue may be that the shared module is not being compiled for Scala.js. We can fix that as follows by compiling it for both. Mill example below: