命令mvnw包-Pprod docker:build挂起

时间:2017-04-14 22:29:03

标签: jhipster docker-build

我使用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

以前有人遇到过这个问题吗?

1 个答案:

答案 0 :(得分:2)

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