You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/12/16 13:31:50 UTC

[GitHub] [rocketmq-dashboard] StyleTang commented on issue #53: mvn spring-boot:run此命令执行时报不能下载Yarn

StyleTang commented on issue #53:
URL: https://github.com/apache/rocketmq-dashboard/issues/53#issuecomment-995821013


   `Could not download Yarn` may be your network problem, you can remove this plug-in in `pom.xml`
   ```xml
               <plugin>
                   <groupId>com.github.eirslett</groupId>
                   <artifactId>frontend-maven-plugin</artifactId>
                   <version>1.11.3</version>
                   <configuration>
                       <workingDirectory>frontend</workingDirectory>
                       <installDirectory>target</installDirectory>
                   </configuration>
                   <executions>
                       <execution>
                           <id>install node and yarn</id>
                           <goals>
                               <goal>install-node-and-yarn</goal>
                           </goals>
                           <configuration>
                               <nodeVersion>v16.2.0</nodeVersion>
                               <yarnVersion>v1.22.10</yarnVersion>
                           </configuration>
                       </execution>
   
                       <execution>
                           <id>yarn install</id>
                           <goals>
                               <goal>yarn</goal>
                           </goals>
                           <configuration>
                               <arguments>install</arguments>
                           </configuration>
                       </execution>
                       <execution>
                           <id>yarn build</id>
                           <goals>
                               <goal>yarn</goal>
                           </goals>
                           <configuration>
                               <arguments>build</arguments>
                           </configuration>
                       </execution>
                   </executions>
   cc</plugin>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org