html - Polymer core-meta is already registered -


I am creating an application with polymers, and I am having trouble creating my own component. The component I am creating is a login signal.

  & lt; Link rel = "import" href = "/ static / bower_components / polymer / polymer.html" & gt; & Lt; Link rel = "import" href = "/ static / bower_components / paper-button / paper-button html" & gt; & Lt; Link rel = "import" href = "/ static / bower_components / paper-input / paper-input.html" & gt; & Lt; Polymer-element name = "login-sign" property = "" & gt; & Lt; Templates & gt; & Lt; Paper input label = "email" & gt; & Lt; / Paper-Input & gt; & Lt; Paper input label = "password" type = "password" & gt; & Lt; / Paper-Input & gt; & Lt; Paper-Button Label = "Login" Positive & gt; & Lt; / Paper-button & gt; & Lt; / Template & gt; & Lt; Script & gt; Polymer ({}); & Lt; / Script & gt; & Lt; / Polymer element & gt;  

But at this time, I import more than one dependency (in this case paper-button and paper-input The error is found in the console:

  Error: Duplicate Definition Error: A type with name 'Core Meta' is already registered  

This Is coming from platform.js . Why is this error appearing? In the documentation, the population is exactly the same, but they behave normally

Edit: An update to load with the full URL, but I still get the same error.

OK, I thought it. In my layout file, I was importing main-component-page . There is a definition for core-meta , as well as some other elements which already have dependent dependencies. I am not sure why I was in it, I would like to know what is core-component-page , and why it exists.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -