Hello All,

I'm trying to build Ambari 2.1.0  from the source

wget 
http://www.apache.org/dist/ambari/ambari-2.1.0/apache-ambari-2.1.0-src.tar.gz
tar xfvz apache-ambari-2.1.0-src.tar.gz
cd apache-ambari-2.1.0-src
mvn versions:set -DnewVersion=2.1.0

pushd ambari-metrics
mvn versions:set -DnewVersion=2.1.0
popd

//Then when try to execute
mvn -B clean install package jdeb:jdeb -DnewVersion=2.1.0 -DskipTests 
-Dpython.ver="python >= 2.6"

//I'm getting  this error

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
(compile-npm) on project ambari-web: Command execution failed. Cannot run 
program "npm" (in directory 
"/home/obrad/Desktop/apache-ambari-2.1.0-src/ambari-web"): error=2, No such 
file or directory -> [Help 1]
Do you have any idea what should I do to fix this issue?

Thanks,
Milos

Reply via email to