BTW, dev-bootstrap.sh for centos6.5 has just been updated to use Node
0.10.31.

Thanks,
Yusaku

On Mon, Oct 6, 2014 at 1:45 PM, Yusaku Sako <[email protected]> wrote:

> Hi Rodrigo,
>
> What OS are you using?
> It looks like the VM is using Node 0.10.15.  This will not work.
> We need to modify dev-bootstrap.sh to download 0.10.31 instead.
> This was already done for centos6.4, but not for other OS's.
>
> Yusaku
>
>
> On Mon, Oct 6, 2014 at 1:40 PM, Rodrigo Meneses <[email protected]>
> wrote:
>
>> Hello,
>>
>> I tried to build ambari RPM from a brand new environment. I cloned
>> https://
>> github.com/u39kun/ambari-vagrant.git and followed all the steps in the
>> Quick start Guide (
>> https://cwiki.apache.org/confluence/display/AMBARI/Quick+Start+Guide)
>>
>> However I'm getting the error below while building. Have any of you faced
>> that issue before? Thanks!!
>>
>> ambari-web-compile:
>>      [exec] npm WARN package.json [email protected] No README data
>>      [exec] npm http GET https://registry.npmjs.org/css-brunch
>>
>> ..skipping...
>>
>>  [exec] npm http 304 https://registry.npmjs.org/ember-precompiler-brunch
>>      [exec] npm ERR! Error: No compatible version found: mocha-phantomjs@
>> '^3.1.6'
>>      [exec] npm ERR! Valid install targets:
>>      [exec] npm ERR!
>>
>> ["1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.1.3","2.0.0","2.0.1","2.0.2","2.0.3","3.0.0","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.2.0","3.3.0","3.3.1","3.3.2","3.4.0","3.4.1","3.5.0"]
>>      [exec] npm ERR!     at installTargetsError
>> (/usr/share/node/lib/node_modules/npm/lib/cache.js:719:10)
>>      [exec] npm ERR!     at
>> /usr/share/node/lib/node_modules/npm/lib/cache.js:638:10
>>      [exec] npm ERR!     at saved
>>
>> (/usr/share/node/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:142:7)
>>      [exec] npm ERR!     at
>>
>> /usr/share/node/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7
>>      [exec] npm ERR!     at Object.oncomplete (fs.js:107:15)
>>      [exec] npm ERR! If you need help, you may report this log at:
>>      [exec] npm ERR!     <http://github.com/isaacs/npm/issues>
>>      [exec] npm ERR! or email it to:
>>      [exec] npm ERR!     <[email protected]>
>>      [exec]
>>      [exec] npm ERR! System Linux 2.6.32-358.el6.x86_64
>>      [exec] npm ERR! command "/usr/share/node/bin/node"
>> "/usr/share/node/bin/npm" "install"
>>      [exec] npm ERR! cwd /home/vagrant/source-code/trunk/ambari/ambari-web
>>      [exec] npm ERR! node -v v0.10.15
>>      [exec] npm ERR! npm -v 1.3.5
>>
>> [exec] Result: 1
>>      [exec]
>>      [exec] /usr/share/node/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. Error: Cannot find module
>>
>> '/home/vagrant/source-code/trunk/ambari/ambari-web/node_modules/javascript-brunch'
>>      [exec]   at
>> /usr/share/node/lib/node_modules/brunch/lib/watch.js:433:19
>>      [exec]   at Array.map (native)
>>      [exec]   at loadDeps
>> (/usr/share/node/lib/node_modules/brunch/lib/watch.js:418:10)
>>      [exec]   at loadPackages
>> (/usr/share/node/lib/node_modules/brunch/lib/watch.js:438:15)
>>      [exec]   at
>> /usr/share/node/lib/node_modules/brunch/lib/watch.js:458:19
>>      [exec]   at
>> /usr/share/node/lib/node_modules/brunch/lib/helpers.js:529:16
>>      [exec]   at
>> /usr/share/node/lib/node_modules/brunch/lib/helpers.js:485:14
>>      [exec]   at
>>
>> /usr/share/node/lib/node_modules/brunch/node_modules/read-components/index.js:263:16
>>      [exec]   at
>>
>> /usr/share/node/lib/node_modules/brunch/node_modules/read-components/index.js:72:14
>>      [exec]   at Object.cb [as oncomplete] (fs.js:168:19)
>>
>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to