从Intellij IDEA运行JHipster Gradle任务 [英] Running JHipster Gradle task from Intellij IDEA

查看:899
本文介绍了从Intellij IDEA运行JHipster Gradle任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从Intellij IDEA运行Gradle时发生此错误..但是从控制台一切正常......有人知道为什么?

This error happens when I run with Gradle through from Intellij IDEA.. but from console everything works fine... someone knows why?


执行外部任务'run --stacktrace'...:compileJava UP-TO-DATE
:compileScala UP-TO -DATE:bower FAILED

Executing external task 'run --stacktrace'... :compileJava UP-TO-DATE :compileScala UP-TO-DATE :bower FAILED

org.gradle.api.tasks.TaskExecutionException:任务执行失败
':bower'。

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':bower'.

引起:java.io.IOException:无法运行程序bower(在
目录中/ Users / eduardo / Development / projects / jhipster):error = 2,No
这样的文件或目录

Caused by: java.io.IOException: Cannot run program "bower" (in directory "/Users/eduardo/Development/projects/jhipster"): error=2, No such file or directory


推荐答案

我联系了JetBrains对此的支持。他们建议的一件事是从命令行运行IntelliJ,这对我有用:

I contacted JetBrains support about this. The one thing they suggested was running IntelliJ from the command line, which is working for me:

open -a "/Applications/IntelliJ IDEA 15.app"

这篇关于从Intellij IDEA运行JHipster Gradle任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆