question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Front end maven plugin 500 error code

See original GitHub issue

We 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:open
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jjlharrisoncommented, Apr 21, 2020

Yes, that’s what I’ve done using Nexus to mirror the Node and NPM download services.

0reactions
cowwoccommented, Apr 24, 2020

I don’t have permission to close this issue. If you do, please do.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found