Ripple 模拟器在 Mac OSX 上无法与 Ionic 一起使用

Ripple emulator is not working with Ionic on Mac OSX

我收到一个错误:Error: static() root path required 在 Ionic Framework 中使用 Ripple 模拟器时。

ripple emulate

我找到了一种让它工作的方法,我添加了一个到应用程序 www 文件夹的路径,它现在工作得很好。

ripple emulate --path /Users/user/Desktop/app/www

更多信息:https://www.npmjs.com/package/ripple-emulator