When running exec-npm-update in maven , I am getting the following error CreateProcess error=193, %1 is not a valid Win32 application -> [Help 1]
Below is the snippet from pom file.
<execution> <id>exec-npm-update</id> <phase>generate-sources</phase> <configuration> <workingDirectory>${uiResourcesDir}</workingDirectory> <executable>npm</executable> <arguments> <argument>update</argument> </arguments> </configuration> <goals> <goal>exec</goal> </goals> </execution>