-
Notifications
You must be signed in to change notification settings - Fork 204
Description
Issue
Tried running "mvn clean install" on the cloned project in my windows machine. Node and npm were installed. Execution with goal "npm" and argument "install" fails to execute with the below error.
Error Logs:
[INFO] Installed npm locally.
[INFO]
[INFO] --- frontend-maven-plugin:1.6:npm (npm install) @ spring-and-react ---
[INFO] Running 'npm install' in C:\Users\username\Desktop\react-and-spring-master\frontend
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.853 s
[INFO] Finished at: 2019-01-18T00:54:04+05:30
[INFO] Final Memory: 23M/389M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm install) on project spring-and-react: Failed to run task: 'npm install' failed. java.io.IOException: Cannot run program "C:\Users\username\Desktop\react-and-spring-master\target\node\node.exe" (in directory "C:\Users\username\Desktop\react-and-spring-master\frontend"): CreateProcess error=193, %1 is not a valid Win32 application -> [Help 1]
Possible Reasons:
- The frontend-maven-plugin is using CreateProcess instead of ShellExecute
- The frontend-maven-plugin is installing 64bit npm and node but execution command is for 32bit application