When I try to access Uint8ClampedArray
from code running on the JVM, I get the error: java.lang.Error: A method defined in a JavaScript raw type of a Scala.js library has been called. This is most likely because you tried to run Scala.js binaries on the JVM. Make sure you are using the JVM version of the libraries.
What JVM library might resolve this run time error?
Do we have other ways to share this data structure across the JS and JVM builds of sbt-crossprojects?