无法加载资源:服务器响应状态为404(找不到)ripple.js

编程入门 行业动态 更新时间:2024-10-10 21:28:44
本文介绍了无法加载资源:服务器响应状态为404(找不到)ripple.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您的问题是在HTML5中使用Visual Studio工具为apache cordova开发phonegap应用程序 www.visualstudio/en-us/features/cordova-vs.aspx 当我调试应用程序时出错的错误是

Hello my problem is to develop phonegap application in HTML5 with the Visual Studio tools for apache cordova www.visualstudio/en-us/features/cordova-vs.aspx the error write when I debug application is

Ripple ::环境温暖(Tea,Earl Gray,Hot。)ripple.js (37,13099)

Ripple :: Environment Warming Up (Tea. Earl Gray. Hot.) ripple.js (37,13099)

主线程上的同步XMLHttpRequest不推荐使用,因为它对最终用户的体验有不利影响。如需更多帮助,请查看 xhr.spec.whatwg/ 。 > ripple.js(50,28958)

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check xhr.spec.whatwg/.> ripple.js (50,28958)

无法加载资源:服务器响应状态为404 (找不到)ripple.js

Failed to load resource: the server responded with a status of 404 (Not Found) ripple.js

感谢您的帮助

推荐答案

可能是答案的一部分:对于第二个错误(未找到404),对我有用的是将 config.xml 复制到根路径

May be part of the answer: For the second error (not found 404), what worked for me is to copy config.xml to the root path (where your source code is).

对于第一个错误(同步 XMLHttpRequest ,这对于模拟不重要)过程,但您可能想要查看清除控制台日志)只需编辑ripple.js

For the first error (synchronous XMLHttpRequest, which is not important for the emulating process, but you may want to see a "clear" console log) just edit ripple.js

[MAIN_DRIVE]:\Users\[YOUR_USER]\AppData\Roaming\npm\node_modules\ripple-emulator\pkg\hosted

在仿真器提示的行中,查找xhr请求。 更改

In the line that the emulator complains about, look for the xhr request. Change

xmlHttp.open("GET", utils.appLocation() + fileName, false);

xmlHttp.open("GET", utils.appLocation() + fileName, true);

完成后,希望这有帮助。 这些错误与方法无关。

and you are done, Hope this helps. These errors are not related by the way.

更多推荐

无法加载资源:服务器响应状态为404(找不到)ripple.js

本文发布于:2023-08-03 04:38:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1284021.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   加载   状态   服务器   资源

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!