2017-04-14 44 views
2

我使用jhipster 4.2.0来生成微服务。我正在按照此处找到的官方文档https://jhipster.github.io/docker-compose/在码头集装箱中运行micorservice。 当我运行命令“mvnw包-Pprod搬运工:建立”,我可以在它工作的日志中看到,然后在下面的行挂在没有任何错误信息:命令mvnw包-Pprod docker:构建挂起

[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

是否从项目根目录运行'node node_modules/phantomjs-prebuilt/install.js',然后构建应用程序允许它完成?这曾经是package.json安装后步骤的一部分,可能仍然需要... –

+0

关于您的问题的任何更新? – mikron

+0

从那以后我没有再尝试。当我有时间时,我会再次尝试教程。 – Bacem

回答

2

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