执行maven中的exec-npm-update时,我收到以下错误信息:
CreateProcess error=193,%1不是有效的Win32应用程序 -> [Help 1]
下面是pom文件的片段。
下面是pom文件的片段。
<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>