ColinEberhardt / applause-button

A zero-configuration medium-style button for adding applause / claps / kudos to web pages and blog posts
http://applause-button.com/
MIT License
427 stars 41 forks source link

DOMException: Failed to execute 'define' on 'CustomElementRegistry' #99

Open tkddnr924 opened 1 year ago

tkddnr924 commented 1 year ago

Hello. I am using your program well. Your program works fine. However, there is one problem, so I register the issue.

I use applause-buton based on Ghost Blog. I referred to the following site.

Error

I execute Chrome DevTools on my blog and checked the console.

Checked for errors.

Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "applause-button" has already been used with this registry 

image

How i built it

  1. yarn add applause-button
  2. copy js and css in "\node_modules\applause-button\dist"
  3. Add <applause-button style="width: 58px; height: 58px;"/>
  4. gulp build