Front end maven plugin 500 error code
See original GitHub issueWe have been using the plugin for over 8 months. Since the last few weeks, we have intermittently run into the following issue with the plugin. I looked at similar issue https://github.com/eirslett/frontend-maven-plugin/issues/551 but I doubt if the root cause is the same.
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.9.1:install-node-and-yarn (install node and yarn) on project xxxx: Could not download Yarn: Got error code 500 from the server. -> [Help 1] [ERROR]
<node.version>v12.14.1</node.version>
<npm.version>6.13.4</npm.version>
<yarn.version>v1.21.1</yarn.version>
....
.....
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.9.1</version>
<executions>
<execution>
<id>install node and yarn</id>
<goals>
<goal>install-node-and-yarn</goal>
</goals>
<configuration>
<nodeVersion>${node.version}</nodeVersion>
<yarnVersion>${yarn.version}</yarnVersion>
</configuration>
</execution>
<execution>
<id>install dependencies from package.json</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>build dependencies from package.json</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
</executions>
</plugin>
From Jenkins log
[INFO] Installing Yarn version v1.21.1 [INFO] Downloading https://github.com/yarnpkg/yarn/releases/download/v1.21.1/yarn-v1.21.1.tar.gz to /var/lib/jenkins/workspace/xxxxx/com/github/eirslett/yarn/1.21.1/yarn-1.21.1.tar.gz
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Build with frontend-maven-plugin fails on mac M1: Could not ...
This is a bug in the frontend-maven-plugin . An upgrade to the current version should help: <plugin> <groupId>com.github.eirslett</groupId> ...
Read more >Solved: M1 Mac, cant build wknd tutorial, get "Could not d...
I found the solution. The fontend-maven-plugin is old, and doesnt support the newer chips. The solution was to change its version to 1.11:....
Read more >Get Started with Custom Error Handling in Spring Boot (Java)
Learn how to implement custom error handling logic in Spring Boot. You will see two approaches based on the @ControllerAdvice annotation.
Read more >Spring Boot Maven Plugin Documentation
The plugin offers a number of user properties, starting with spring-boot , to let you customize the configuration from the command-line. For ...
Read more >dCache 6.1 Release Notes - dCache.org
e320f183a5: [maven-release-plugin] prepare release 6.1.36 ... Frontend now logs any time it returns 500 Internal Server Error to the client.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, that’s what I’ve done using Nexus to mirror the Node and NPM download services.
I don’t have permission to close this issue. If you do, please do.