You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Jagat Singh <ja...@gmail.com> on 2015/04/21 04:42:54 UTC
Building from source brunch not found
Hi
I am trying to build ambari from source.
I am always getting error due to brunch not installed.
I have version 1.7.17 installed on Mac
agats-mbp:ambari jagatsingh$ brunch version
1.7.17
I am following instructions on wiki of Ambari.
https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development
How to fix this.
Thanks in advance
INFO] Executing tasks
ambari-web-compile:
[exec] npm WARN package.json Ambari@1.7.0 No README data
[exec] mocha-phantomjs@3.1.6 node_modules/mocha-phantomjs
[exec] ├── which@1.0.9
[exec] ├── commander@1.2.0 (keypress@0.1.0)
[exec] └── mocha@1.13.0 (diff@1.0.7, growl@1.7.0, commander@0.6.1,
mkdirp@0.3.5, debug@2.1.3, jade@0.26.3, glob@3.2.3)
[exec] /usr/local/lib/node_modules/brunch/lib/watch.js:433
[exec] throw new Error("You probably need to execute `npm
install` to ins
[exec] ^
[exec] Error: You probably need to execute `npm install` to install
brunch plugins. SyntaxError:
/Users/jagatsingh/dev/code/open/ambari/ambari-web/node_modules/ember-precompiler-brunch/node_modules/jsdom/lib/jsdom/level1/core.js:418
[exec] set nodeName() { throw new core.DOMException();},
[exec] ^
[exec] Unexpected token )
[exec] at /usr/local/lib/node_modules/brunch/lib/watch.js:433:19
[exec] at Array.map (native)
[exec] at loadDeps
(/usr/local/lib/node_modules/brunch/lib/watch.js:418:10)
[exec] at loadPackages
(/usr/local/lib/node_modules/brunch/lib/watch.js:438:15)
[exec] at /usr/local/lib/node_modules/brunch/lib/watch.js:458:19
[exec] at /usr/local/lib/node_modules/brunch/lib/helpers.js:529:16
[exec] at /usr/local/lib/node_modules/brunch/lib/helpers.js:485:14
[exec] at
/usr/local/lib/node_modules/brunch/node_modules/read-components/index.js:263:16
[exec] at
/usr/local/lib/node_modules/brunch/node_modules/read-components/index.js:72:14
[exec] at FSReqWrap.cb [as oncomplete] (fs.js:228:19)
[exec]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ........................................ SUCCESS [
1.493 s]
[INFO] Apache Ambari Project POM .......................... SUCCESS [
0.376 s]
[INFO] Ambari Web ......................................... FAILURE [
18.699 s]
[INFO] Ambari Views ....................................... SKIPPED
[INFO] Ambari Admin View .................................. SKIPPED
[INFO] Ambari Server ...................................... SKIPPED
[INFO] Ambari Agent ....................................... SKIPPED
[INFO] Ambari Client ...................................... SKIPPED
[INFO] Ambari Python Client ............................... SKIPPED
[INFO] Ambari Groovy Client ............................... SKIPPED
[INFO] Ambari Shell ....................................... SKIPPED
[INFO] Ambari Python Shell ................................ SKIPPED
[INFO] Ambari Groovy Shell ................................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 20.870 s
[INFO] Finished at: 2015-04-21T12:19:39+10:00
[INFO] Final Memory: 33M/526M
[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: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true"
dir="/Users/jagatsingh/dev/code/open/ambari/ambari-web"
executable="brunch">... @ 8:104 in
/Users/jagatsingh/dev/code/open/ambari/ambari-web/target/antrun/build-ambari-web-compile.xml
[ERROR] -> [Help 1]
[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
jagats-mbp:ambari jagatsingh$ brunch -version
error: unknown option `-v'
jagats-mbp:ambari jagatsingh$ brunch version
1.7.17
jagats-mbp:ambari jagatsingh$
Re: Building from source brunch not found
Posted by Jagat Singh <ja...@gmail.com>.
Anyone please?
On Tue, Apr 21, 2015 at 12:42 PM, Jagat Singh <ja...@gmail.com> wrote:
> Hi
>
> I am trying to build ambari from source.
>
> I am always getting error due to brunch not installed.
>
> I have version 1.7.17 installed on Mac
>
> agats-mbp:ambari jagatsingh$ brunch version
>
> 1.7.17
>
> I am following instructions on wiki of Ambari.
>
> https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development
>
> How to fix this.
>
> Thanks in advance
>
> INFO] Executing tasks
>
>
> ambari-web-compile:
>
> [exec] npm WARN package.json Ambari@1.7.0 No README data
>
> [exec] mocha-phantomjs@3.1.6 node_modules/mocha-phantomjs
>
> [exec] ├── which@1.0.9
>
> [exec] ├── commander@1.2.0 (keypress@0.1.0)
>
> [exec] └── mocha@1.13.0 (diff@1.0.7, growl@1.7.0, commander@0.6.1,
> mkdirp@0.3.5, debug@2.1.3, jade@0.26.3, glob@3.2.3)
>
> [exec] /usr/local/lib/node_modules/brunch/lib/watch.js:433
>
> [exec] throw new Error("You probably need to execute `npm
> install` to ins
>
> [exec] ^
>
> [exec] Error: You probably need to execute `npm install` to install
> brunch plugins. SyntaxError:
> /Users/jagatsingh/dev/code/open/ambari/ambari-web/node_modules/ember-precompiler-brunch/node_modules/jsdom/lib/jsdom/level1/core.js:418
>
> [exec] set nodeName() { throw new core.DOMException();},
>
> [exec] ^
>
> [exec] Unexpected token )
>
> [exec] at /usr/local/lib/node_modules/brunch/lib/watch.js:433:19
>
> [exec] at Array.map (native)
>
> [exec] at loadDeps
> (/usr/local/lib/node_modules/brunch/lib/watch.js:418:10)
>
> [exec] at loadPackages
> (/usr/local/lib/node_modules/brunch/lib/watch.js:438:15)
>
> [exec] at /usr/local/lib/node_modules/brunch/lib/watch.js:458:19
>
> [exec] at /usr/local/lib/node_modules/brunch/lib/helpers.js:529:16
>
> [exec] at /usr/local/lib/node_modules/brunch/lib/helpers.js:485:14
>
> [exec] at
> /usr/local/lib/node_modules/brunch/node_modules/read-components/index.js:263:16
>
> [exec] at
> /usr/local/lib/node_modules/brunch/node_modules/read-components/index.js:72:14
>
> [exec] at FSReqWrap.cb [as oncomplete] (fs.js:228:19)
>
> [exec]
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Reactor Summary:
>
> [INFO]
>
> [INFO] Ambari Main ........................................ SUCCESS [
> 1.493 s]
>
> [INFO] Apache Ambari Project POM .......................... SUCCESS [
> 0.376 s]
>
> [INFO] Ambari Web ......................................... FAILURE [
> 18.699 s]
>
> [INFO] Ambari Views ....................................... SKIPPED
>
> [INFO] Ambari Admin View .................................. SKIPPED
>
> [INFO] Ambari Server ...................................... SKIPPED
>
> [INFO] Ambari Agent ....................................... SKIPPED
>
> [INFO] Ambari Client ...................................... SKIPPED
>
> [INFO] Ambari Python Client ............................... SKIPPED
>
> [INFO] Ambari Groovy Client ............................... SKIPPED
>
> [INFO] Ambari Shell ....................................... SKIPPED
>
> [INFO] Ambari Python Shell ................................ SKIPPED
>
> [INFO] Ambari Groovy Shell ................................ SKIPPED
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 20.870 s
>
> [INFO] Finished at: 2015-04-21T12:19:39+10:00
>
> [INFO] Final Memory: 33M/526M
>
> [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: exec returned: 1
>
> [ERROR] around Ant part ...<exec failonerror="true"
> dir="/Users/jagatsingh/dev/code/open/ambari/ambari-web"
> executable="brunch">... @ 8:104 in
> /Users/jagatsingh/dev/code/open/ambari/ambari-web/target/antrun/build-ambari-web-compile.xml
>
> [ERROR] -> [Help 1]
>
> [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
>
> jagats-mbp:ambari jagatsingh$ brunch -version
>
>
> error: unknown option `-v'
>
>
> jagats-mbp:ambari jagatsingh$ brunch version
>
> 1.7.17
>
> jagats-mbp:ambari jagatsingh$
>