【发布时间】:2016-05-09 04:40:24
【问题描述】:
在 scala.js (http://www.scala-js.org/tutorial/basic/) 的教程中,它说我需要在 phantomjs 而不是 Node.js 中运行我的代码。
但是下载的 phantomjs 是一个可执行文件。如何在 build.sbt 中引用它?
以下是我现在所拥有的。
[trace] Stack trace suppressed: run last compile:run for the full output.
[error] (compile:run) java.io.IOException: Cannot run program "phantomjs": error=2, No such file or directory
【问题讨论】: