Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error during exec-maven-plugin #29

Open
rafaeltuelho opened this issue Jun 24, 2021 · 0 comments
Open

build error during exec-maven-plugin #29

rafaeltuelho opened this issue Jun 24, 2021 · 0 comments

Comments

@rafaeltuelho
Copy link

I got this error during maven install...

[INFO] --- exec-maven-plugin:1.5.0:exec (exec-npm-ng-build) @ drools-fiddle ---
Your global Angular CLI version (11.2.6) is greater than your local version (6.1.5). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
 94% after seal SuppressE
Date: 2021-06-24T13:20:00.915Z
Hash: 463a6b044c6e4b9b80ad
Time: 11748ms
chunk {0} runtime.a66f828dca56eeb90e02.js (runtime) 1.05 kB [entry] [rendered]
chunk {1} styles.d5d948d3ba804eb64570.css (styles) 206 kB [initial] [rendered]
chunk {2} polyfills.e7f5364b276024e19b0b.js (polyfills) 130 bytes [initial] [rendered]
chunk {3} main.0594610c91de797f492a.js (main) 128 bytes [initial] [rendered]
chunk {scripts} scripts.59ae675517bb406164d8.js (scripts) 649 kB  [rendered]

ERROR in : TypeError: Cannot read property 'flags' of undefined
    at checkUnreachable (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:29010:31)
    at bindChildrenWorker (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:27028:17)
    at bindChildren (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:26984:17)
    at bind (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:28262:21)
    at bindSourceFile (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:26598:17)
    at Object.bindSourceFile (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:26539:9)
    at initializeTypeChecker (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:56489:20)
    at Object.createTypeChecker (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:30764:9)
    at getDiagnosticsProducingTypeChecker (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:85059:93)
    at /Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:85187:35
    at runWithCancellationToken (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:85160:24)
    at getSemanticDiagnosticsForFileNoCache (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:85183:20)
    at getAndCacheDiagnostics (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:85431:26)
    at getSemanticDiagnosticsForFile (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:85180:20)
    at getDiagnosticsHelper (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:85122:24)
    at Object.getSemanticDiagnostics (/Users/rsoares/dev/github/drools-fiddle/src/main/ngapp/node_modules/typescript/lib/typescript.js:85135:20)

[ERROR] Command execution failed.
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 org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:764)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:711)
    at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:289)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    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:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:47 min
[INFO] Finished at: 2021-06-24T09:20:00-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (exec-npm-ng-build) on project drools-fiddle: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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/MojoExecutionException
>>> elapsed time 4m49s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant