0

我正在尝试在我的本地 Windows 机器上安装 Cesium 的 kml 分支,我正在按照说明从https://github.com/AnalyticalGraphicsInc/cesium/wiki/Contributor's-Guide安装它。我的系统上安装了 jdk1.8 和 node.js。我是 node.js 的新手。当我尝试构建代码时,我收到以下消息。我在这缺少什么?

C:\xampp\htdocs\cesium-kmz>.\Tools\apache-ant-1.8.2\bin\ant combine runServer
Buildfile: C:\xampp\htdocs\cesium-kmz\build.xml

build:

checkForNode:
 [exec] Execute failed: java.io.IOException: Cannot run program "node": Crea
teProcess error=2, The system cannot find the file specified

BUILD FAILED
C:\xampp\htdocs\cesium-kmz\build.xml:296: Node.js is required to run this part of the build.  Install from http://nodejs.org/

Total time: 3 seconds

提前致谢!

4

1 回答 1

0

看起来node可执行文件不在您的 PATH 中。您是否在 Node 安装时选择了该选项?还有,你跑npm install之前跑成功了ant吗?

于 2014-12-24T14:43:14.513 回答