xetys / jhipster-ribbon-hystrix

A microservice demo project using JHipster 3.0 and applying Netflix Ribbon / Hystrix at service level
GNU General Public License v3.0
18 stars 11 forks source link

Having challenges building `gateway` project #2

Open akoranne opened 7 years ago

akoranne commented 7 years ago

I downloaded the repo and tried building the projects. I had no issues building foo and bar services. However, when building gateway project, I am getting errors. Here's are those errors..

[~/Workspaces/GitHub/41-jhipster/jhipster-ribbon-hystrix/gateway]
(master) $> ./gradlew build -Pprod -x test buildDocker
:bower
:nodeSetup SKIPPED
:gulpBuildWithOpts FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':gulpBuildWithOpts'.
> gulp not installed in node_modules, please first run 'gradle installGulp'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.587 secs
[~/Workspaces/GitHub/41-jhipster/jhipster-ribbon-hystrix/gateway]
(master) $> gradle installGulp

FAILURE: Build failed with an exception.

* Where:
Build file '~/Workspaces/GitHub/41-jhipster/jhipster-ribbon-hystrix/gateway/build.gradle' line: 25

* What went wrong:
A problem occurred evaluating root project 'gateway'.
> Failed to apply plugin [class 'io.spring.gradle.dependencymanagement.DependencyManagementPlugin']
   > Could not create task of type 'DependencyManagementReportTask'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 0.872 secs
[~/Workspaces/GitHub/41-jhipster/jhipster-ribbon-hystrix/gateway]
(master) $> gradle --version

------------------------------------------------------------
Gradle 3.1
------------------------------------------------------------

Build time:   2016-09-19 10:53:53 UTC
Revision:     13f38ba699afd86d7cdc4ed8fd7dd3960c0b1f97

Groovy:       2.4.7
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.8.0_121 (Oracle Corporation 25.121-b13)
OS:           Mac OS X 10.12.2 x86_64

[~/Workspaces/GitHub/41-jhipster/jhipster-ribbon-hystrix/gateway]
(master) $> gulp --version
[09:21:28] CLI version 1.2.2

I have a feeling this has to do with gulp-cli (which replaced gulp). Can you please let me know what changes I should make to packages.json?

Thank you for your help! --ajay