config.xml 和 ripple/user-agent 在将 ionic 和 ngCordova 与波纹模拟器一起使用时未找到
config.xml and ripple/user-agent not found when using ionic and ngCordova with ripple simulator
这正常吗?如果没有,我该如何解决?
从 chrome 控制台复制/过去,因为我还不能 post 图片:
Console was cleared
ripple.js:37 Ripple :: Environment Warming Up (Tea. Earl Gray. Hot.)
ripple.js:50 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
ripple.js:50 GET http://localhost/csDown/www/config.xml 404 (Not Found)
ripple.js:50 POST http://localhost/csDown/www/ripple/user-agent 404 (Not Found)
ripple.js:37 cordova :: Setting the user agent server side failed.
ripple.js:37 cordova :: Initialization Finished (Make it so.)
ripple.js:40 Uncaught TypeError: Cannot read property 'fire' of undefined
运行我的朋友很好。如果你在模拟器里面 运行 你找不到 config.xml
,你需要在实际设备里面 运行 它。
这正常吗?如果没有,我该如何解决?
从 chrome 控制台复制/过去,因为我还不能 post 图片:
Console was cleared
ripple.js:37 Ripple :: Environment Warming Up (Tea. Earl Gray. Hot.)
ripple.js:50 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
ripple.js:50 GET http://localhost/csDown/www/config.xml 404 (Not Found)
ripple.js:50 POST http://localhost/csDown/www/ripple/user-agent 404 (Not Found)
ripple.js:37 cordova :: Setting the user agent server side failed.
ripple.js:37 cordova :: Initialization Finished (Make it so.)
ripple.js:40 Uncaught TypeError: Cannot read property 'fire' of undefined
运行我的朋友很好。如果你在模拟器里面 运行 你找不到 config.xml
,你需要在实际设备里面 运行 它。