“404 (Not Found)” for “polymer.min.js”

僤鯓⒐⒋嵵緔 提交于 2019-12-11 09:49:47

问题


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)


回答1:


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.



来源:https://stackoverflow.com/questions/25483374/404-not-found-for-polymer-min-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!