ripple-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brent Lintner <brent.lint...@gmail.com>
Subject Re: ripple emulate fails
Date Wed, 27 Mar 2013 21:40:25 GMT
Hey Christian,

I believe it just needs the --path flag before the path? i.e.

ripple emulate --path ..../assets/www

On Wed, Mar 27, 2013 at 5:33 PM, Gord Tanner <gtanner@gmail.com> wrote:

> I can look into this tonight. It may be a bad merge into master for
> handling multiple paths.
>
>
> On Wed, Mar 27, 2013 at 5:28 PM, Christian Grobmeier <grobmeier@gmail.com
> >wrote:
>
> > Hi folks,
> >
> > I have successfully ./configure 'd ripple from trunk. Then I did:
> >
> > $ ./ripple emulate /path/to/tab-mobile-android-2.0/assets/www
> > INFO: Server instance running on: http://localhost:4400
> > INFO: CORS XHR proxy service on: http://localhost:4400/ripple/xhr_proxy
> > INFO: JSONP XHR proxy service on:
> > http://localhost:4400/ripple/jsonp_xhr_proxy
> >
> > /path/to/ripple-incubator-trunk/lib/server/emulate.js:61
> >             options.path.forEach(function (path) {
> >                          ^
> > TypeError: Object /path/to//ripple-incubator-trunk/bin has no method
> > 'forEach'
> >     at Object.module.exports.start
> > /path/to/ripple-incubator-trunk/lib/server/emulate.js:61:26)
> >     at Object.self.start
> > (/path/to/ripple-incubator-trunk/lib/cli/emulate.js:29:17)
> >     at Object.self.call
> > (/path/to/ripple-incubator-trunk/lib/cli/emulate.js:26:14)
> >     at lookup (/path/to/ripple-incubator-trunk/lib/cli/index.js:43:20)
> >     at Object.module.exports.interpret
> > /path/to/ripple-incubator-trunk/lib/cli/index.js:58:13)
> >     at Object.<anonymous>
> (/path/to/ripple-incubator-trunk/bin/ripple:2:25)
> >     at Module._compile (module.js:456:26)
> >     at Object.Module._extensions..js (module.js:474:10)
> >     at Module.load (module.js:356:32)
> >     at Function.Module._load (module.js:312:12)
> >
> > Any idea whats wrong?
> > no "forEach" method looks weird to me, on my Mac OSX 10.6.x
> >
> > Thanks!
> > Christian
> >
> > --
> > http://www.grobmeier.de
> > https://www.timeandbill.de
> >
>



-- 
Brent

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message