【问题标题】:jhipster error while runningjhipster 运行时出错
【发布时间】: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 继续。由于警告而中止。

标签: node.js maven jhipster


【解决方案1】:

通过阅读您的 cmets:

  • 您已选择“指南针”选项。这不是默认选项,您的错误来自此选项,而不是来自 MongoDB(您的问题的标题具有误导性)
  • 消息告诉您:如果要使用 Compass,则需要安装 Compass。

所以要么安装 Compass,要么选择不使用它的选项。

【讨论】:

    猜你喜欢
    • 2018-02-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-30
    • 2014-10-29
    • 2018-03-22
    相关资源
    最近更新 更多