英文:
--force option frontend maven plugin
问题
有没有办法在前端Maven插件中使用--force
选项?
[INFO] --- frontend-maven-plugin:1.12.1:npm (npm install) @ justine ---
[INFO] npm ERR! code ERESOLVE
[INFO] npm ERR! ERESOLVE 无法解析依赖树
英文:
Is there anyway how to use --force
option for frontend maven plugin ?
[INFO] --- frontend-maven-plugin:1.12.1:npm (npm install) @ justine ---
[INFO] npm ERR! code ERESOLVE
[INFO] npm ERR! ERESOLVE unable to resolve dependency tree
答案1
得分: 0
应该看起来像这样:
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install --force</arguments>
<npmInheritsProxyConfigFromMaven>false</npmInheritsProxyConfigFromMaven>
</configuration>
</execution>
英文:
It should look like this :
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install --force</arguments>
<npmInheritsProxyConfigFromMaven>false</npmInheritsProxyConfigFromMaven>
</configuration>
</execution>
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论