incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tanzir Musabbir <tan...@customercaresolutions.com>
Subject Ambari Web Build Error
Date Mon, 18 Feb 2013 17:09:07 GMT
Hello Everyone,
I'm very new to Ambari. I just downloaded the source from the SVN and 
when I tried a maven build I got the following errors:


[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [3.669s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.028s]
[INFO] Ambari Web ........................................ FAILURE [1.895s]
[INFO] Ambari Server ..................................... SKIPPED
[INFO] Ambari Agent ...................................... SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 6.950s
[INFO] Finished at: Mon Feb 18 11:00:14 CST 2013
[INFO] Final Memory: 4M/9M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (compile) on 
project ambari-web: An Ant BuildException has occured: Execute failed: 
java.io.IOException: Cannot run program "npm" (in directory 
"D:\workspace-ambari\trunk\ambari-web"): CreateProcess error=2, The 
system cannot find the file specified
[ERROR] around Ant part ...<exec 
dir="D:\workspace-ambari\trunk\ambari-web" executable="npm" 
failonerror="false">... @ 4:89 in 
D:\workspace-ambari\trunk\ambari-web\target\antrun\build-ambari-web-compile.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the 
command
[ERROR]   mvn <goals> -rf :ambari-web
---------------------------------------------------------------------

Any idea whats going on here? I followed all the instructions written in 
https://cwiki.apache.org/confluence/display/AMBARI/Coding+Guidelines+for+Ambari 
and have installed NodeJS and brunch. But still facing the above error.


Any information will be highly appreciated.



Thanks in advance.
Tanzir


Mime
View raw message