Vikas Arora
Vikas Arora

Reputation: 1666

Error installing core-elements and polymer-ui-elements

I was installing the polymer on my windows 8 pc by taking tutorials from tutplus. I was able to install Polymer/platform and Polymer/polymer using bower.

Now, I wanted to install the core-elements and polymer-ui-elements but every time when I do:

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

The command line hangs up for a minute and then gives the error:

FATAL ERROR: JS Allocation failed - process out of memory

How to overcome this error?

Upvotes: 2

Views: 554

Answers (1)

Jester
Jester

Reputation: 261

This is from Installing Polymer through bower freezes

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

according to http://github.com/bower/bower/issues/1324 there is a workaround.

edit bower.json by adding in a line so the dependency area looks like this

dependencies": { "polymer": "Polymer/polymer#~0.3.1", "core-elements": "Polymer/core-elements" } then run $ bower update

you can add other packages, too.

I'm actually brand new to polymer (had trouble installing it, as you can imagine) so I'm not positive this works.

Upvotes: 0

Related Questions