The paper-checkbox element causes whole components to crash at import with the following message in the console:
Error: A custom element with name 'iron-meta' has already been defined.
I am trying to complete this guide on the official Polymer website: https://www.polymer-project.org/3.0/start/toolbox/add-elements. The import causes my-new-view to crash and results in missing content for the whole component while other views still work fine. Disabling the import results in missing checkbox but the component is present.
Expected outcome
Checkbox appeared in the component.
Actual outcome
The whole component using paper-checkbox is missing.
### Browsers Affected
- [x] Chrome
- [x] Firefox
- [x] Safari 9
### Related links
There is also the same unanswered question on StackOverflow: https://stackoverflow.com/questions/51046158/issue-importing-polymer-elements
Description
The
paper-checkbox
element causes whole components to crash at import with the following message in the console:I am trying to complete this guide on the official Polymer website: https://www.polymer-project.org/3.0/start/toolbox/add-elements. The import causes
my-new-view
to crash and results in missing content for the whole component while other views still work fine. Disabling the import results in missing checkbox but the component is present.Expected outcome
Checkbox appeared in the component.
Actual outcome
The whole component using
paper-checkbox
is missing.Steps to reproduce
my-new-view.js
:class MyNewView extends PolymerElement { static get template() { return html`
}
window.customElements.define('my-new-view', MyNewView);