You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the maven:3.6.0-jdk-8-alpine image to build the example project. I'm getting the following error:
[INFO] Running 'npm ci' in /tmp/frontend-maven-plugin/frontend-maven-plugin/src/it/example project
[DEBUG] Executing command line [/tmp/frontend-maven-plugin/frontend-maven-plugin/src/it/example project/node/node, /tmp/frontend-maven-plugin/frontend-maven-plugin/src/it/example project/node/node_modules/npm/bin/npm-cli.js, ci]
[INFO] Error relocating /tmp/frontend-maven-plugin/frontend-maven-plugin/src/it/example project/node/node: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
[INFO] Error relocating /tmp/frontend-maven-plugin/frontend-maven-plugin/src/it/example project/node/node: _ZNSt19_Sp_make_shared_tag5_S_eqERKSt9type_info: symbol not found
[INFO] Error relocating /tmp/frontend-maven-plugin/frontend-maven-plugin/src/it/example project/node/node: _ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.770 s
[INFO] Finished at: 2023-09-28T15:45:47Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:npm (npm ci) on project example: Failed to run task: 'npm ci' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 127 (Exit value: 127) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:npm (npm ci) on project example: Failed to run task
Should I be able to build this example project on that image? From reading the readme it seems like both maven and jdk requirements are met.
The text was updated successfully, but these errors were encountered:
Not a problem of the frontend maven plugin. Looks like you are using an incompatible NodeJS executable. Googling for the report error yields several results related to running NodeJS on Alpine Linux.
I'm trying to use the maven:3.6.0-jdk-8-alpine image to build the example project. I'm getting the following error:
[INFO] Running 'npm ci' in /tmp/frontend-maven-plugin/frontend-maven-plugin/src/it/example project
[DEBUG] Executing command line [/tmp/frontend-maven-plugin/frontend-maven-plugin/src/it/example project/node/node, /tmp/frontend-maven-plugin/frontend-maven-plugin/src/it/example project/node/node_modules/npm/bin/npm-cli.js, ci]
[INFO] Error relocating /tmp/frontend-maven-plugin/frontend-maven-plugin/src/it/example project/node/node: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
[INFO] Error relocating /tmp/frontend-maven-plugin/frontend-maven-plugin/src/it/example project/node/node: _ZNSt19_Sp_make_shared_tag5_S_eqERKSt9type_info: symbol not found
[INFO] Error relocating /tmp/frontend-maven-plugin/frontend-maven-plugin/src/it/example project/node/node: _ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.770 s
[INFO] Finished at: 2023-09-28T15:45:47Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:npm (npm ci) on project example: Failed to run task: 'npm ci' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 127 (Exit value: 127) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:npm (npm ci) on project example: Failed to run task
Should I be able to build this example project on that image? From reading the readme it seems like both maven and jdk requirements are met.
The text was updated successfully, but these errors were encountered: