Frontend-maven-plugin build failed

Hello,

When I’m running travis with code from CI-test repository, I’m receiving:

[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.10.0:npm (npm build react) on project oms: Failed to run task: 'npm run build' failed.org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]

It’s strange because running localy everything works fine. I’m using this command locally:
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V

Any idea how to fix npm run build failed error?

Thanks.

Getting same error! any solution?

1 Like