Uncaught NotSupportedError: Failed to execute 'registerElement' on 'Document': Registration failed for type 'dom-module'. A type with that name is already registered.

523 views
Skip to first unread message

Ramkrishan Bhatt

unread,
May 16, 2016, 8:29:00 AM5/16/16
to Polymer


HI,
 I have upgraded the code from .04 to Polymer 1.3 in my project. And also remove all java script code from Index.html. But still i am getting error to registering my element. I need to fix these issue asap as beta version of Polymer working fine with but after upgrading i got stuck.



 

Eric Bidelman

unread,
May 16, 2016, 11:11:06 AM5/16/16
to Ramkrishan Bhatt, Polymer

This happens when you load polymer multiple times from different URLs or vulcanize polymer.html into multiple bundles, then load each.

For the first, make sure polymer is being loaded from the same place across your entire app. We call this the canonical URL.


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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/de7018f4-8192-49f0-92fc-c87853d2c981%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages