Skip to content

TeamCity build :: NPM command not found #1423

@wajda

Description

@wajda

Automatic builds of the release/0.7 series started to fail recently, presumably due to changes in the build agent configuration.

https://teamcity.jetbrains.com/buildConfiguration/OpenSourceProjects_AbsaOSSSpline_AutomaticBuildsWithTests_Spark24/5189888?expandBuildProblemsSection=false&showLog=5189888_1775_92&logView=flowAware

23:06:24   [INFO] --- antrun:1.8:run (default) @ rest-gateway ---
23:06:25   [INFO] Executing tasks
23:06:25   
23:06:25   main:
23:06:25        [exec] Generating REST API documentation
23:06:25        [exec] gen-api-doc.sh: line 21: npm: command not found
23:06:25        [exec] gen-api-doc.sh: line 24: npm: command not found
23:06:25        [exec] gen-api-doc.sh: line 27: npm: command not found
23:06:25   Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project rest-gateway: An Ant BuildException has occured: exec returned: 127
  around Ant part ...<exec failonerror="true" executable="bash" osfamily="unix">... @ 8:62 in /mnt/agent/work/e9a3979cdec1ecd5/rest-gateway/target/antrun/build-main.xml

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions