我通过学习tutplus的教程,在我的Windows8电脑上安装了聚合物。我能够使用bower安装Polymer/platform和Polymer/polymer。
现在,我想安装core-elements和polymer-ui-elements,但每次安装时:
bower install Polymer/core-elements
bower install Polymer/polymer-ui-elements命令行挂起一分钟,然后显示错误:
FATAL ERROR: JS Allocation failed - process out of memory如何克服这个错误?
发布于 2014-06-02 22:55:10
这是来自Installing Polymer through bower freezes的
======================
根据http://github.com/bower/bower/issues/1324的说法,有一个解决方法。
通过添加一行来编辑bower.json,使依赖项区域如下所示
依赖“:{”聚合物“:”聚合物/聚合物#~0.3.1“,”核心元素“:”聚合物/核心元素“}然后运行$ bower update
您也可以添加其他包。
我实际上是一个全新的聚合物(正如你可以想象的那样,在安装它时遇到了麻烦),所以我对它的工作不是很肯定。
https://stackoverflow.com/questions/23978672
复制相似问题