Just curious: are you using the yeoman generator to build your project?

On Thu, Nov 6, 2014 at 6:27 AM, <[email protected]> wrote:

> Hey,
>
> It's the same error for the same line but in a different file, the full
> error with the file name is below
>
> Uncaught HierarchyRequestError: Failed to execute 'appendChild' on 'Node':
> Nodes of type 'HTML' may not be inserted inside nodes of type '#document'.
> * polymer.concat.js:6290*
>
> I have more details in the comments in here
> http://stackoverflow.com/questions/26766181/please-help-me-understand-this-error
>
> Raja
>
>
>
> On Wednesday, November 5, 2014 11:57:52 PM UTC-5, Artem Khodyush wrote:
>>
>> 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/b1277003-dc13-46ca-9faa-8a5494a5ec3e%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/b1277003-dc13-46ca-9faa-8a5494a5ec3e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

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/CAJj5OwDmbD2diJnsy%2BNieKmnPs1R1VxmKpEp89H%3D-QVXKEtGww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to