Skip to content

Not working with Polymer Starter Kit #678

Open
@chwzr

Description

@chwzr

Description

I've installed it on a blank polymer 3 starter kit.
got following error:
Failed to execute 'define' on 'CustomElementRegistry': this name has already been used with this registry

Is this bc there is a separate @Polymer node_module installed in subfolder?

Steps to reproduce

  1. polymer init --> polymer starter kit 3

  2. npm install @polymer/paper-input --save

  3. import like in the docs..

  4. polymer serve

  5. see error in console:

Uncaught (in promise) DOMException: Failed to execute 'define' on 'CustomElementRegistry': this name has already been used with this registry
    at Polymer (http://localhost:8081/node_modules/@polymer/polymer/lib/legacy/polymer-fn.js:43:18)
    at http://localhost:8081/node_modules/@polymer/iron-input/node_modules/@polymer/iron-meta/iron-meta.js:141:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions