Jenkins Build Error - Possibly NPM Related?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Jenkins Build Error - Possibly NPM Related?

Pathak, Tarpan X. -ND
Hi,

We are using the “exec-maven-plugin” with NPM (version 6.4.1) and even though they are both installed and in the $PATH, we are seeing the following error:

14:00:12 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (exec-npm-install) on project <sensitive>: Command execution failed. Cannot run program "npm" (in directory "/home/ec2-user/workspace/<sensitive>"): error=2, No such file or directory -> [Help 1]

Any suggestions on how to go about fixing this issue?

-- Tarpan Pathak