trajano/app-ms

mvn install failing

Closed this issue · 4 comments

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)

It's v6.11.3. How to configure it to make it work ?

try not having a space in your path C:\git projects\