Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes

Hi Team,

When I set up the server and ran mvn install, the process gets stuck. Could you please help me resolve this issue?

[INFO] --- frontend-maven-plugin:1.7.6:npm (npm install) @ server ---

[DEBUG] Configuring mojo com.github.eirslett:frontend-maven-plugin:1.7.6:npm from plugin realm ClassRealm[plugin>com.github.eirslett:frontend-maven-plugin:1.7.6, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55054057]

[DEBUG] Configuring mojo 'com.github.eirslett:frontend-maven-plugin:1.7.6:npm' with basic configurator -->

[DEBUG]   (f) arguments = install

[DEBUG]   (f) npmInheritsProxyConfigFromMaven = true

[DEBUG]   (f) project = MavenProject: com.hmdm:server:0.1.0 @ /hmdm-server/server/pom.xml

[DEBUG]   (f) repositorySystemSession = org.eclipse.aether.DefaultRepositorySystemSession@6e5af973

[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@68217d41

[DEBUG]   (f) skipTests = false

[DEBUG]   (f) testFailureIgnore = false

[DEBUG]   (f) workingDirectory = /hmdm-server/server/webtarget

[DEBUG]   (f) execution = com.github.eirslett:frontend-maven-plugin:1.7.6:npm {execution: npm install}

[DEBUG] -- end configuration --

[INFO] Running 'npm install' in /hmdm-server/server/webtarget

[DEBUG] Executing command line [/hmdm-server/server/webtarget/node/node, /hmdm-server/server/webtarget/node/node_modules/npm/bin/npm-cli.js, install]

by (250 points)

1 Answer

0 votes
As I understand, your build process stucks at npm installation. This could happen if there is no access to the npm repository (since it stucks, I guess the "connection timed out" error).

Make sure your IDE has proper Internet access.

Note: if you are the Enterprise customer, please use the private support channel for reporting the build issues because they are too specific and may require further clarification and opening the support ticket.
by (36.8k points)
...