Created
August 5, 2018 16:38
-
-
Save stefantwog/426054a384322a222e3ace811f166285 to your computer and use it in GitHub Desktop.
Jhipster prod build error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./mvnw -Pprod package -DskipTests -e | |
[INFO] Error stacktraces are turned on. | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Two G Hub 0.0.1-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (default-resources) @ two-g-hub --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 5 resources | |
[INFO] Copying 47 resources | |
[INFO] | |
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ two-g-hub --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 5 resources | |
[INFO] Copying 47 resources | |
[INFO] | |
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ two-g-hub --- | |
[INFO] | |
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (docker-resources) @ two-g-hub --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 2 resources | |
[INFO] | |
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-tests) @ two-g-hub --- | |
[INFO] argLine set to -javaagent:C:\\Users\\Stefan\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.7.9\\org.jacoco.agent-0.7.9-runtime.jar=destfile=D:\\TwoGNation\\TwogHub\\target\\test-results\\coverage\\jacoco\\jacoco.exec -Djava.security.egd=file:/dev/./urandom -Xmx256m | |
[INFO] | |
[INFO] --- git-commit-id-plugin:2.2.4:revision (default) @ two-g-hub --- | |
[INFO] | |
[INFO] --- spring-boot-maven-plugin:1.5.10.RELEASE:build-info (default) @ two-g-hub --- | |
[INFO] | |
[INFO] --- frontend-maven-plugin:1.6:install-node-and-yarn (install node and yarn) @ two-g-hub --- | |
[INFO] Node v8.9.4 is already installed. | |
[INFO] Yarn 1.3.2 is already installed. | |
[INFO] | |
[INFO] --- frontend-maven-plugin:1.6:yarn (yarn install) @ two-g-hub --- | |
[INFO] Running 'yarn install --force' in D:\TwoGNation\TwogHub | |
[INFO] yarn install v1.3.2 | |
[INFO] [1/5] Validating package.json... | |
[INFO] [2/5] Resolving packages... | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.6" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.6" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.6" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@0.5.x" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.3" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.6" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@0.1.x" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.3" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.6" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.6" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@~0.4.1" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@0.5.x" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.7" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@~0.5.1" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.4.2" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.3" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.6" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.6" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.6" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.6" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@~0.5.0" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.3" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.5.1" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@~0.2.0" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.4.4" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.1.41" | |
[ERROR] warning Resolution field "source-map@0.6.1" is incompatible with requested version "source-map@^0.4.2" | |
[INFO] [3/5] Fetching packages... | |
[INFO] info fsevents@1.1.3: The platform "win32" is incompatible with this module. | |
[INFO] info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation. | |
[INFO] [4/5] Linking dependencies... | |
[ERROR] warning " > bootstrap@4.0.0" has unmet peer dependency "popper.js@^1.12.9". | |
[INFO] [5/5] Rebuilding all packages... | |
[INFO] success Saved lockfile. | |
[INFO] $ webdriver-manager update && node node_modules/phantomjs-prebuilt/install.js | |
[INFO] webdriver-manager: using local installed version 12.0.6 | |
[INFO] [18:37:59] I/file_manager - creating folder D:\TwoGNation\TwogHub\node_modules\webdriver-manager\selenium | |
[INFO] [18:38:01] I/update - chromedriver: unzipping chromedriver_2.41.zip | |
[INFO] [18:38:06] I/update - geckodriver: unzipping geckodriver-v0.21.0.zip | |
[INFO] Found PhantomJS at D:\TwoGNation\TwogHub\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe ...verifying | |
[INFO] PhantomJS is previously installed at D:\TwoGNation\TwogHub\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe | |
[INFO] Done in 27.57s. | |
[INFO] | |
[INFO] --- frontend-maven-plugin:1.6:yarn (webpack build prod) @ two-g-hub --- | |
[INFO] yarn not inheriting proxy config from Maven | |
[INFO] Running 'yarn run webpack:prod' in D:\TwoGNation\TwogHub | |
[INFO] yarn run v1.3.2 | |
[INFO] $ yarn run cleanup && yarn run webpack:prod:main && yarn run clean-www | |
[INFO] $ rimraf target/{aot,www} | |
[INFO] $ yarn run webpack -- --config webpack/webpack.prod.js --profile | |
[ERROR] warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts. | |
[INFO] $ node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js --config webpack/webpack.prod.js --profile | |
[ERROR] error Command failed with exit code 3221225477. | |
[INFO] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
[ERROR] error Command failed with exit code 1. | |
[INFO] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
[ERROR] error Command failed with exit code 1. | |
[INFO] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 35.001 s | |
[INFO] Finished at: 2018-08-05T18:38:15+02:00 | |
[INFO] Final Memory: 27M/66M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:yarn (webpack build prod) on project two-g-hub: Failed to run task: 'yarn run webpack:prod' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1] | |
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:yarn (webpack build prod) on project two-g-hub: Failed to run task | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) | |
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) | |
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) | |
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) | |
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) | |
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) | |
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) | |
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) | |
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) | |
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) | |
at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.apache.maven.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:39) | |
at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:122) | |
at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:50) | |
Caused by: org.apache.maven.plugin.MojoFailureException: Failed to run task | |
at com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute(AbstractFrontendMojo.java:100) | |
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) | |
... 27 more | |
Caused by: com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'yarn run webpack:prod' failed. | |
at com.github.eirslett.maven.plugins.frontend.lib.YarnTaskExecutor.execute(YarnTaskExecutor.java:64) | |
at com.github.eirslett.maven.plugins.frontend.mojo.YarnMojo.execute(YarnMojo.java:65) | |
at com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute(AbstractFrontendMojo.java:94) | |
... 29 more | |
Caused by: com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutionException: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) | |
at com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutor.execute(ProcessExecutor.java:82) | |
at com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutor.executeAndRedirectOutput(ProcessExecutor.java:64) | |
at com.github.eirslett.maven.plugins.frontend.lib.YarnExecutor.executeAndRedirectOutput(YarnExecutor.java:28) | |
at com.github.eirslett.maven.plugins.frontend.lib.YarnTaskExecutor.execute(YarnTaskExecutor.java:58) | |
... 31 more | |
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) | |
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) | |
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) | |
at com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutor.execute(ProcessExecutor.java:74) | |
... 34 more | |
[ERROR] | |
[ERROR] Re-run Maven using the -X switch to enable full debug logging. | |
[ERROR] | |
[ERROR] For more information about the errors and possible solutions, please read the following articles: | |
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment