“404(未找到)”对于“聚合物.min.js” [英] "404 (Not Found)" for "polymer.min.js"

查看:106
本文介绍了“404(未找到)”对于“聚合物.min.js”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我仍然得到了与此处所述相同的错误:未捕获的参考误差:未定义聚合物造成IP变更?



但是,在我卸载并重新安装yeoman,grunt,bower和聚合物发生器之后,新的初始化聚合物项目现在可以正常工作。

我旧的Polymer-projects仍然有相同的错误。



我正在使用所有工具的最新版本上文提到的。 (Grunt:0.4.5,Bower:1.3.9)

解决方案

毕竟,问题似乎是由聚合物。

我切换到了最新版本的聚合物,并将其正确包含在我的项目中(我之前使用的版本是0.0.20131010),错误消失了。但在屏幕上仍然没有看到任何东西。



经过大量搜索之后,我发现单个关闭< template> -Tag在我的一个元素中缺失。



现在我唯一要做的就是修复所有兼容性问题。


I still got the same error as described here: "Uncaught Reference Error: Polymer is not defined" caused by IP-change?

But after I uninstalled and reinstalled yeoman, grunt, bower and polymer-generator, fresh initialized Polymer-projects work fine now.

My old Polymer-projects still have the same Error.

I am using the newest versions for all tools mentioned above. (Grunt: 0.4.5, Bower: 1.3.9)

解决方案

After all it seems like the problem was somehow caused by Polymer.

I switched to the newest version of polymer and included it in my project correctly (I used version 0.0.20131010 before) and the errors disappeared. But there was still nothing to see on the screen.

After a lot of searching, I found that a single closing <template>-Tag was missing in one of my elements.

The only thing for me left to do now is fixing all the compatibility issues.

这篇关于“404(未找到)”对于“聚合物.min.js”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆