【发布时间】:2017-04-22 17:21:58
【问题描述】:
我正在尝试将 Travis CI 与存储库(在 github 上分叉)集成。一切都很好,但 Travis CI 网站在 Job 下显示以下错误。
Fatal error: Unable to find local grunt.
The command "grunt build" failed and exited with 99 during .
我在我的.travis.yml 中添加了 npm install 并且还在我的package.json 文件中定义了脚本。
grunt 依赖项和 gruntfile.js 也已正确设置。
【问题讨论】:
-
grunt 是什么版本的?你能用你的
.travis.yml和package.json中的脚本编辑吗?
标签: node.js git gruntjs travis-ci