当我尝试Uint8ClampedArray
从 JVM 上运行的代码访问时,我收到错误消息: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.
哪个 JVM 库可以解决此运行时错误?
我们是否有其他方法可以在 sbt-crossprojects 的 JS 和 JVM 构建中共享此数据结构?