Polymer 聚合物网站教程未运行|未定义不是功能

Polymer 聚合物网站教程未运行|未定义不是功能,polymer,Polymer,我是聚合物的新手,我开始在官方网站上学习这个简单的第一个教程 一切都很简单,但什么都不起作用。或者更好,我只有一个问题。当我点击顶部菜单(“全部或收藏夹”)时,没有任何变化,我在控制台上遇到此错误 Uncaught TypeError: undefined is not a function Element.js:104 Selected: favorites (index):65 Uncaught TypeError: undefined is not a function Element.

我是聚合物的新手,我开始在官方网站上学习这个简单的第一个教程

一切都很简单,但什么都不起作用。或者更好,我只有一个问题。当我点击顶部菜单(“全部或收藏夹”)时,没有任何变化,我在控制台上遇到此错误

Uncaught TypeError: undefined is not a function Element.js:104
Selected: favorites (index):65
Uncaught TypeError: undefined is not a function Element.js:104
Exception caught during observer callback: TypeError: undefined is not a function
    at b.classList (http://127.0.0.1/polymer/components/platform/platform.js:13:20941)
    at Polymer.selectedIndexChanged     (data:text/javascript;base64,CgogIFBvbHltZXIoJ3BhcGVyLXRhYnMnLCB7CiAgICAKICA…cG9uZW50cy9wYXBlci10YWJzL3BhcGVyLXRhYnMuaHRtbC9wYXBlci10YWJzLmpzCg==:45:26)
    at e.invokeMethod (http://127.0.0.1/polymer/components/polymer/polymer.js:12:10242)
    at e.notifyPropertyChanges     (http://127.0.0.1/polymer/components/polymer/polymer.js:12:9459)
    at Object.Observer.report_ (http://127.0.0.1/polymer/components/platform/platform.js:12:12892)
    at Object.createObject.check_ (http://127.0.0.1/polymer/components/platform/platform.js:12:18346)
    at Object.global.Platform.performMicrotaskCheckpoint (http://127.0.0.1/polymer/components/platform/platform.js:12:13792)
    at http://127.0.0.1/polymer/components/platform/platform.js:16:24471
    at Object.c [as callback_] (http://127.0.0.1/polymer/components/platform/platform.js:15:9571)
    at Array.c (http://127.0.0.1/polymer/components/platform/platform.js:12:27047) 
我认为我做错了什么,所以我下载了示例文件,但我已经下载了示例的源代码,仍然会收到相同的错误。 有什么帮助吗?=)


谢谢大家

更新chrome至35版或使用

它在我的linux机器上出错,它的Chrome版本为34.0.1847.137


它在windows7上运行,Chrome 35.0.1916.153m

教程中的一些组件不同步。如果您提取更新的回购,这些错误应该会消失。

我也有同样的问题。这是错误报告

这就是你可以找到答案的地方
它对我有效:)

希望用户有相同的版本