Open narayanai opened 7 years ago
I don't know if this will help you but here my pom file :
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version>
<configuration>
<nodeVersion>${node.version}</nodeVersion>
<downloadRoot>${node.url}</downloadRoot>
</configuration>
<executions>
<execution>
<id>install-node-and-npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<phase>generate-resources</phase>
</execution>
<execution>
<id>set-npm-registry</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>config set registry=${npm.registry.url}</arguments>
</configuration>
</execution>
</executions>
</plugin>
Hi, I am getting E401 error while building my application. However the node and npm installed successfully from my proxy repository (execution 1). The
npm install...
is failing.(execution 2)I have experimented various options in existing issue threads by using .npmrc file (like adding the 'registry', '_auth' etc) but no use.
Could anyone help me in resolving the same. Please see the below pom.xml