[
https://issues.apache.org/jira/browse/RIPPLE-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brent Lintner updated RIPPLE-9:
-------------------------------
Labels: v0.9.16 (was: )
> `ripple emulate` throws exception
> ---------------------------------
>
> Key: RIPPLE-9
> URL: https://issues.apache.org/jira/browse/RIPPLE-9
> Project: Apache Ripple
> Issue Type: Bug
> Environment: CLI, NPM
> Reporter: Brent Lintner
> Labels: v0.9.16
>
> Steps to reproduce:
> 1. Install v0.9.16
> 2. Run `ripple emulate` anywhere
> Expected: To boot webserver and stay running
> Actually: Exits Node process with:
> /Users/brent/local/node/lib/node_modules/ripple-emulator/lib/server/emulate.js:61
> options.path.forEach(function (path) {
> ^
> TypeError: Object /Users/brent/src/sandbox/useragent has no method 'forEach'
> at Object.module.exports.start
> (/Users/brent/local/node/lib/node_modules/ripple-emulator/lib/server/emulate.js:61:26)
> at Object.self.start
> (/Users/brent/local/node/lib/node_modules/ripple-emulator/lib/cli/emulate.js:29:17)
> at Object.self.call
> (/Users/brent/local/node/lib/node_modules/ripple-emulator/lib/cli/emulate.js:26:14)
> at lookup
> (/Users/brent/local/node/lib/node_modules/ripple-emulator/lib/cli/index.js:43:20)
> at Object.module.exports.interpret
> (/Users/brent/local/node/lib/node_modules/ripple-emulator/lib/cli/index.js:58:13)
> at Object.<anonymous>
> (/Users/brent/local/node/lib/node_modules/ripple-emulator/bin/ripple:2:25)
> at Module._compile (module.js:449:26)
> at Object.Module._extensions..js (module.js:467:10)
> at Module.load (module.js:356:32)
> at Function.Module._load (module.js:312:12)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira