Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚨 Error: Failed to execute 'define' on 'CustomElementRegistry': the name "amp-consent" has already been used with this registry #34347

Closed
ampprojectbot opened this issue May 12, 2021 · 3 comments
Labels
Type: Error Report An error reported by AMP Error Reporting

Comments

@ampprojectbot
Copy link
Member

Details

Error report: link
First seen: Mar 4, 2021
Frequency: ~ 557/day

Stacktrace

Error: Failed to execute 'define' on 'CustomElementRegistry': the name "amp-consent" has already been used with this registry
    at define (src/service/custom-element-registry.js:181:24)
    at registerElement (src/service/custom-element-registry.js:62:4)
    at upgradeOrRegisterElementReady (src/service/custom-element-registry.js:49:4)
    at upgradeOrRegisterElement (src/service/extensions-impl.js:399:4)
    at registerElementInWindow_ (src/service/extensions-impl.js:381:13)
    at src/style-installer.js:72:6
    at installStylesForDoc (src/service/extensions-impl.js:377:6)
    at installElement_ (src/service/extensions-impl.js:349:11)
    at src/service/extensions-impl.js:454:8
    at addDocFactory (src/service/extensions-impl.js:348:9)

Notes

@jridgewell modified src/service/custom-element-registry.js:181-181 in #25141 (Oct 19, 2019)
@jridgewell modified src/service/custom-element-registry.js:62-62 in #26355 (Jan 21, 2020)
@dvoytenko modified src/service/custom-element-registry.js:45-59 in #32820 (Feb 26, 2021)
@rsimha modified src/service/extensions-impl.js:377-385 in #21212 (May 16, 2019)
@dvoytenko modified src/style-installer.js:63-85 in #11072 (Aug 24, 2017)
@rsimha modified src/service/extensions-impl.js:377-385 in #21212 (May 16, 2019)
@renovate-bot modified src/service/extensions-impl.js:348-348 in #27350 (Mar 30, 2020)

Seen in:

  • 04-24 Stable (0357+1)
  • 04-30 Beta (2228)
  • 04-30 Experiment-B (2228)
  • 04-30 Stable (2228)

Possible assignees: @dvoytenko, @jridgewell

/cc @ampproject/release-on-duty

@ampprojectbot ampprojectbot added the Type: Error Report An error reported by AMP Error Reporting label May 12, 2021
@samouri
Copy link
Member

samouri commented May 13, 2021

Dupe of #34347

@samouri samouri closed this as completed May 13, 2021
@alanorozco alanorozco reopened this May 13, 2021
@alanorozco
Copy link
Member

@samouri The issue linked is this one. What's the dupe?

@samouri
Copy link
Member

samouri commented May 13, 2021

meant to link to #34350

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Error Report An error reported by AMP Error Reporting
Projects
None yet
Development

No branches or pull requests

4 participants