您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

CreateProcess错误= 193,%1不是有效的Win32应用程序-> [帮助1]

CreateProcess错误= 193,%1不是有效的Win32应用程序-> [帮助1]

发生此问题的原因是我使用的角度版本为1.5。

将可执行文件从npm更改为npm.cmd可以解决问题!

<execution>
                <id>exec-npm-update</id>
                <phase>generate-sources</phase>
                <configuration>
                  <workingDirectory>${uiResourcesDir}</workingDirectory>
                  <executable>npm.cmd</executable>
                  <arguments>
                    <argument>update</argument>
                  </arguments>
                </configuration>
                <goals>
                  <goal>exec</goal>
                </goals>
              </execution>
其他 2022/1/1 18:22:05 有662人围观

撰写回答


你尚未登录,登录后可以

和开发者交流问题的细节

关注并接收问题和回答的更新提醒

参与内容的编辑和改进,让解决方法与时俱进

请先登录

推荐问题


联系我
置顶