Github user xyztdanid4 commented on a diff in the pull request:

    https://github.com/apache/metron/pull/952#discussion_r173710125
  
    --- Diff: metron-interface/metron-alerts/pom.xml ---
    @@ -35,36 +35,36 @@
                 <plugin>
                     <groupId>com.github.eirslett</groupId>
                     <artifactId>frontend-maven-plugin</artifactId>
    -                <version>1.3</version>
    +                <version>1.6</version>
                     <configuration>
                         <workingDirectory>./</workingDirectory>
                         <nodeVersion>${node.version}</nodeVersion>
    -                    <npmVersion>${npm.version}</npmVersion>
    -                    
<npmInheritsProxyConfigFromMaven>false</npmInheritsProxyConfigFromMaven>
    +                    <yarnVersion>${yarn.version}</yarnVersion>
    +                    
<yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
                     </configuration>
                     <executions>
                         <execution>
                             <phase>generate-resources</phase>
    -                        <id>install node and npm</id>
    +                        <id>install node and yarn</id>
                             <goals>
    -                            <goal>install-node-and-npm</goal>
    +                            <goal>install-node-and-yarn</goal>
                             </goals>
                         </execution>
                         <execution>
                             <phase>generate-resources</phase>
    -                        <id>npm install</id>
    +                        <id>yarn install</id>
                             <goals>
    -                            <goal>npm</goal>
    +                            <goal>yarn</goal>
                             </goals>
                             <configuration>
    -                            <arguments>install</arguments>
    +                             <arguments>install --mutex network 
--ignore-engines --pure-lockfile</arguments>
    --- End diff --
    
    @merrimanr I would like to thank you for your help with pointing out the 
problem is with the CI. I tried to set the cache folder differently for each 
angular project, but somehow I got some permission errors. The solution is that 
I introduced the 'mutex network' flag on the yarn install, so it will prevent 
multiple installation on the same time by yarn.


---

Reply via email to