【问题标题】:Error installing core-elements and polymer-ui-elements安装 core-elements 和 polymer-ui-elements 时出错
【发布时间】:2014-06-01 10:00:19
【问题描述】:

我通过学习tutplus 的教程在我的 Windows 8 电脑上安装聚合物。我能够使用凉亭安装Polymer/platformPolymer/polymer

现在,我想安装 core-elementspolymer-ui-elements 但每次我这样做时:

bower install Polymer/core-elements
bower install Polymer/polymer-ui-elements

命令行挂了一分钟,然后报错:

FATAL ERROR: JS Allocation failed - process out of memory

如何克服这个错误?

【问题讨论】:

  • 过去几天我也遇到了凉亭悬挂问题。 bower 版本 1.3.1,节点 v0.10.26
  • stackoverflow.com/questions/23917177/…。还要确保您的凉亭是最新的 1.3.3,内存问题已修复。
  • 我有最新版本,并且还关注了一些基于节点 js 的其他问题。但是仍然会弹出此错误。
  • Bower 1.3.4 已发布。您可以更新并检查此问题是否已修复?

标签: dart polymer dart-polymer


【解决方案1】:

这是来自Installing Polymer through bower freezes

=======================

根据http://github.com/bower/bower/issues/1324 有一个解决方法。

通过添加一行来编辑 bower.json,使依赖区域看起来像这样

依赖”:{ "聚合物": "聚合物/聚合物#~0.3.1", “核心元素”:“聚合物/核心元素” } 然后运行 ​​$ bower update

您也可以添加其他包。

我实际上是聚合物的新手(安装时遇到了麻烦,正如你想象的那样),所以我不肯定它是否有效。

【讨论】:

    猜你喜欢
    • 2020-07-23
    • 1970-01-01
    • 2014-12-31
    • 2017-06-10
    • 2016-10-30
    • 2016-04-12
    • 2020-07-02
    • 1970-01-01
    • 2015-03-03
    相关资源
    最近更新 更多