0

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
Amir Choubani
  • 829
  • 2
  • 14
  • 28

1 Answers1

0

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>
Amir Choubani
  • 829
  • 2
  • 14
  • 28