【发布时间】:2014-11-13 16:36:56
【问题描述】:
我做了 npm install -g yo 和 npm install -g generator-jhipster 用于安装 yoeman 和 jhipster 然后我通过运行“yo jhipster”创建了一个项目回答了所有问题然后当我做 mvn -Pprod 弹簧启动:运行 它给了我错误 [错误] 无法在项目 myproject 上执行目标 com.github.trecloux:yeoman-maven-plugin:0.2:build (run-grunt):错误期间:grunt test --no-color:进程退出并出现错误:6(退出值:6) -> [帮助1]
有人可以帮我了解一下吗?我对这个有点陌生。
【问题讨论】:
-
您的 JavaScript 测试出错,“grunt test”任务失败 -> 可以运行它并查看输出吗?
-
grunt test Running "clean:server" (clean) task Cleaning .tmp...OK Running "concurrent:test" (concurrent) task Warning: Running "compass:dist" (compass) task Warning :您需要安装 Ruby 和 Compass 并在系统 PATH 中才能执行此任务。更多信息:github.com/gruntjs/grunt-contrib-compass 使用 --force 继续。由于警告而中止。