【发布时间】:2017-03-16 09:17:26
【问题描述】:
在 maven 中运行 exec-npm-update 时,出现以下错误 CreateProcess 错误=193,%1 不是有效的 Win32 应用程序 -> [帮助 1]
以下是 pom 文件中的 sn-p。
<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>
【问题讨论】: