Hi, I've seen exactly this error when multiple instances of TemplateBinding.js were included in the page. The error happened at this line:
https://github.com/Polymer/TemplateBinding/blob/master/src/TemplateBinding.js#L163: var html = d.appendChild(d.createElement('html')); it's the attempt to insert second html element that failed. Not sure if the same thing is happening in your case, but I got it when I had custom element with bower.json that referenced polymer-dev repo instead of polymer (back when -dev repos were still in use, and I wanted to pull in non-minified code for some debugging). My component pulled in polymer-dev, other dependencies pulled in polymer, that's how I ended up with two copies of polymer scripts. Hope this helps, Artem On Wednesday, November 5, 2014 11:04:30 AM UTC-8, [email protected] wrote: > > Hello All, > > Can someone please explain why the following error occurs and what it > means? > > Uncaught HierarchyRequestError: Failed to execute 'appendChild' on 'Node': > Nodes of type 'HTML' may not be inserted inside nodes of type '#document' > > I am not sure I am able to reproduce it but it occurs from time to time, > usually when I import more than one custom element. It's extremely hard > giving exact context since I am working on integrating polymer's paper/core > elements for our in-house widgets. Broadly speaking what are the cases that > I would see this error? Any kind of help is appreciated. Thank you. > > Regards, > Raja > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/c99345d5-07a0-4978-9d6b-58de2fb8fc44%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
