2

我正在使用 jhipster 4.2.0 来生成微服务。我正在按照此处找到的官方文档https://jhipster.github.io/docker-compose/在 docker 容器中运行 micorservice。当我运行命令“mvnw package -Pprod docker:build”时,我可以在日志中看到它正在工作,然后在以下行挂起,没有任何错误消息:

[INFO] [00:21:10] I/update - geckodriver: geckodriver-v0.15.0.exe up
to date

这是日志的片段:

[INFO] --- frontend-maven-plugin:1.3:yarn (yarn install) @ gateway-demo ---
[INFO] Running 'yarn install' in E:\development\sources\jhipster-demo
[INFO] yarn install v0.21.3
[INFO] [1/4] Resolving packages...
[INFO] success Already up-to-date.
[INFO] $ webdriver-manager update && yarn run webpack:build
[INFO] [00:21:06] I/update - selenium standalone: file exists E:\development\
alone-3.3.1.jar
[INFO] [00:21:06] I/update - selenium standalone: selenium-server-standalone-
[INFO] [00:21:06] I/update - chromedriver: file exists E:\development\sources
[INFO] [00:21:06] I/update - chromedriver: unzipping chromedriver_2.29.zip
[INFO] [00:21:08] I/update - chromedriver: chromedriver_2.29.exe up to date
[INFO] [00:21:09] I/update - geckodriver: file exists E:\development\sources\
[INFO] [00:21:09] I/update - geckodriver: unzipping geckodriver-v0.15.0.zip
[INFO] [00:21:10] I/update - geckodriver: geckodriver-v0.15.0.exe up to date

有没有人遇到过这个问题?

4

1 回答 1

2

我在生成网关时与 jhipster 4.3.0 有同样的问题,运行 comnode node_modules/phantomjs-prebuilt/install.js> 并重新执行并不能解决问题。

于 2017-04-25T12:48:09.073 回答