Polymer 加载聚合物项目启动程序工具箱设置时出现JS错误

Polymer 加载聚合物项目启动程序工具箱设置时出现JS错误,polymer,polymer-1.0,polymer-1.x,polymer-serve,Polymer,Polymer 1.0,Polymer 1.x,Polymer Serve,来自聚合物松弛组:@drjosh9000发布: 在尝试时,我得到了一个充满错误的JS控制台。如何消除它们并使页面正确加载 编辑 注: 以下操作不起作用: polymer serve --open polymer build polymer serve build/bundled 以下方法有效: polymer serve --open polymer build polymer serve build/bundled 您是否已完成运行bower安装命令?Polymer CLI会自动为您

来自聚合物松弛组:@drjosh9000发布:

在尝试时,我得到了一个充满错误的JS控制台。如何消除它们并使页面正确加载

编辑 注: 以下操作不起作用:

polymer serve --open
polymer build
polymer serve build/bundled
以下方法有效:

polymer serve --open
polymer build
polymer serve build/bundled

您是否已完成运行
bower安装
命令?Polymer CLI会自动为您执行此操作,但您是否已在某一点停止?

您是否已完成运行
bower install
命令?Polymer CLI会自动为您执行此操作,但您是否在某一点停止?

我认为您错过了
bower安装
,因为
Polymer.js
缺失并导致其他功能失败

我认为您错过了
bower安装
,因为
polymer.js
丢失并导致其他功能失败

我认为聚合物包装不见了。试试这个:

open cmd
cd my-project # where my-project is the root directory of your project
bower install --save polymer/polymer

我想聚合物包装不见了。试试这个:

open cmd
cd my-project # where my-project is the root directory of your project
bower install --save polymer/polymer