mvn install failing
subho26 opened this issue · 4 comments
subho26 commented
mvn clean install
is failing. Although npm install
runs successfully in folder
"/c/git projects/app-ms/app-ms/quasar-ms"
.
All other modules are compiling successfully.
[DEBUG] -- end configuration --
[INFO] Running 'npm install' in C:\git projects\app-ms\app-ms\quasar-ms
[DEBUG] Executing command line [C:\git projects\app-ms\app-ms\quasar-ms\node\node.exe, C:\git projects\app-ms\app-ms\quasar-ms\node\node_modules\npm\bin\npm-cli.js, install]
[ERROR] module.js:538
[ERROR] throw err;
[ERROR] ^
[ERROR]
[ERROR] Error: Cannot find module 'C:\git projects\app-ms\app-ms\quasar-ms\node\node_modules\npm\bin\npm-cli.js'
[ERROR] at Function.Module._resolveFilename (module.js:536:15)
[ERROR] at Function.Module._load (module.js:466:25)
[ERROR] at Function.Module.runMain (module.js:676:10)
[ERROR] at startup (bootstrap_node.js:187:16)
[ERROR] at bootstrap_node.js:608:3
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Microservice Application ........................... SUCCESS [ 5.650 s]
[INFO] Microservice Common ................................ SUCCESS [ 9.739 s]
[INFO] ms-engine-spring-jaxrs ............................. SUCCESS [ 2.796 s]
[INFO] Microservice Engine ................................ SUCCESS [ 7.808 s]
[INFO] Common Microservice Implementation ................. SUCCESS [ 5.325 s]
[INFO] Microservices Base ................................. SUCCESS [ 2.074 s]
[INFO] ms-common-auth ..................................... SUCCESS [ 3.195 s]
[INFO] ms-engine-manifest ................................. SUCCESS [ 0.421 s]
[INFO] ms-engine-swagger .................................. SUCCESS [ 0.350 s]
[INFO] API Gateway ........................................ SUCCESS [ 3.677 s]
[INFO] OpenID Connect ..................................... SUCCESS [ 2.357 s]
[INFO] ms-resource ........................................ SUCCESS [ 0.350 s]
[INFO] Swagger Microservice ............................... SUCCESS [ 1.421 s]
[INFO] Microservice Web UI ................................ FAILURE [ 1.048 s]
[INFO] Sample Authentication Microservice ................. SKIPPED
[INFO] Sample Authorization Microservice .................. SKIPPED
[INFO] Sample Microservice ................................ SKIPPED
[INFO] Sample OIDC Microservice ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48.422 s
[INFO] Finished at: 2018-02-12T23:51:29+05:30
[INFO] Final Memory: 72M/569M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm install) on project quasar-ms: Failed to run task: 'npm install' 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:npm (npm install) on project quasar-ms: 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:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
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:497)
trajano commented
What version of node do you have?
…On Mon, 12 Feb 2018 at 13:26 subho26 ***@***.***> wrote:
mvn clean install is failing. Although npm install runs successfully in
folder "/c/git projects/app-ms/app-ms/quasar-ms".
All other modules are compiling successfully.
[DEBUG] -- end configuration --
[INFO] Running 'npm install' in C:\git projects\app-ms\app-ms\quasar-ms
[DEBUG] Executing command line [C:\git
projects\app-ms\app-ms\quasar-ms\node\node.exe, C:\git
projects\app-ms\app-ms\quasar-ms\node\node_modules\npm\bin\npm-cli.js,
install]
[ERROR] module.js:538
[ERROR] throw err;
[ERROR] ^
[ERROR]
[ERROR] Error: Cannot find module 'C:\git
projects\app-ms\app-ms\quasar-ms\node\node_modules\npm\bin\npm-cli.js'
[ERROR] at Function.Module._resolveFilename (module.js:536:15)
[ERROR] at Function.Module._load (module.js:466:25)
[ERROR] at Function.Module.runMain (module.js:676:10)
[ERROR] at startup (bootstrap_node.js:187:16)
[ERROR] at bootstrap_node.js:608:3
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Microservice Application ........................... SUCCESS [
5.650 s]
[INFO] Microservice Common ................................ SUCCESS [
9.739 s]
[INFO] ms-engine-spring-jaxrs ............................. SUCCESS [
2.796 s]
[INFO] Microservice Engine ................................ SUCCESS [
7.808 s]
[INFO] Common Microservice Implementation ................. SUCCESS [
5.325 s]
[INFO] Microservices Base ................................. SUCCESS [
2.074 s]
[INFO] ms-common-auth ..................................... SUCCESS [
3.195 s]
[INFO] ms-engine-manifest ................................. SUCCESS [
0.421 s]
[INFO] ms-engine-swagger .................................. SUCCESS [
0.350 s]
[INFO] API Gateway ........................................ SUCCESS [
3.677 s]
[INFO] OpenID Connect ..................................... SUCCESS [
2.357 s]
[INFO] ms-resource ........................................ SUCCESS [
0.350 s]
[INFO] Swagger Microservice ............................... SUCCESS [
1.421 s]
[INFO] Microservice Web UI ................................ FAILURE [
1.048 s]
[INFO] Sample Authentication Microservice ................. SKIPPED
[INFO] Sample Authorization Microservice .................. SKIPPED
[INFO] Sample Microservice ................................ SKIPPED
[INFO] Sample OIDC Microservice ........................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 48.422 s
[INFO] Finished at: 2018-02-12T23:51:29+05:30
[INFO] Final Memory: 72M/569M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.6:npm (npm install) on project
quasar-ms: Failed to run task: 'npm install' 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:npm (npm install) on
project quasar-ms: 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:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
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:497)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#58>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGwIxoqw5RXoGIM8FXCyhu8lpCCJspiks5tUIJcgaJpZM4SCne4>
.
subho26 commented
It's v6.11.3
. How to configure it to make it work ?
trajano commented
I am thinking that it should the npm build should be downloading node from the internet so it should be the one it needs.
It’s just the demo app so you can safely remove it from the modules list in the main Pom if it is impacting you right now.
… On Feb 12, 2018, at 1:26 PM, subho26 ***@***.***> wrote:
mvn clean install is failing. Although npm install runs successfully in folder "/c/git projects/app-ms/app-ms/quasar-ms".
All other modules are compiling successfully.
[DEBUG] -- end configuration --
[INFO] Running 'npm install' in C:\git projects\app-ms\app-ms\quasar-ms
[DEBUG] Executing command line [C:\git projects\app-ms\app-ms\quasar-ms\node\node.exe, C:\git projects\app-ms\app-ms\quasar-ms\node\node_modules\npm\bin\npm-cli.js, install]
[ERROR] module.js:538
[ERROR] throw err;
[ERROR] ^
[ERROR]
[ERROR] Error: Cannot find module 'C:\git projects\app-ms\app-ms\quasar-ms\node\node_modules\npm\bin\npm-cli.js'
[ERROR] at Function.Module._resolveFilename (module.js:536:15)
[ERROR] at Function.Module._load (module.js:466:25)
[ERROR] at Function.Module.runMain (module.js:676:10)
[ERROR] at startup (bootstrap_node.js:187:16)
[ERROR] at bootstrap_node.js:608:3
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Microservice Application ........................... SUCCESS [ 5.650 s]
[INFO] Microservice Common ................................ SUCCESS [ 9.739 s]
[INFO] ms-engine-spring-jaxrs ............................. SUCCESS [ 2.796 s]
[INFO] Microservice Engine ................................ SUCCESS [ 7.808 s]
[INFO] Common Microservice Implementation ................. SUCCESS [ 5.325 s]
[INFO] Microservices Base ................................. SUCCESS [ 2.074 s]
[INFO] ms-common-auth ..................................... SUCCESS [ 3.195 s]
[INFO] ms-engine-manifest ................................. SUCCESS [ 0.421 s]
[INFO] ms-engine-swagger .................................. SUCCESS [ 0.350 s]
[INFO] API Gateway ........................................ SUCCESS [ 3.677 s]
[INFO] OpenID Connect ..................................... SUCCESS [ 2.357 s]
[INFO] ms-resource ........................................ SUCCESS [ 0.350 s]
[INFO] Swagger Microservice ............................... SUCCESS [ 1.421 s]
[INFO] Microservice Web UI ................................ FAILURE [ 1.048 s]
[INFO] Sample Authentication Microservice ................. SKIPPED
[INFO] Sample Authorization Microservice .................. SKIPPED
[INFO] Sample Microservice ................................ SKIPPED
[INFO] Sample OIDC Microservice ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48.422 s
[INFO] Finished at: 2018-02-12T23:51:29+05:30
[INFO] Final Memory: 72M/569M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm install) on project quasar-ms: Failed to run task: 'npm install' 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:npm (npm install) on project quasar-ms: 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:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
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:497)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
trajano commented
try not having a space in your path C:\git projects\