direflow icon indicating copy to clipboard operation
direflow copied to clipboard

running app in debug mode: pause on promise rejection - DOMException: Failed to execute 'define' on 'CustomElementRegistry'

Open vijay-kumar-singh opened this issue 4 years ago • 1 comments

Describe the bug
Whenever i run direflow app on debug mode, debugger get paused with following error/exception pause on promise rejection DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "my-component" has already been used with this registry.

To reproduce
Steps to reproduce the behavior:

  1. Run direflow app in chrome browser - open debugger by right click browser and select inspect
  2. execution get paused with following error/exception pause on promise rejection DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "my-component" has already been used with this registry.
  3. manually click 'Resume script execution' on browser to continue

Expected behavior
in debug mode, application should not pause with promise rejection

Package Manager:
To install Direflow, I used... (npm)

vijay-kumar-singh avatar Oct 27 '20 19:10 vijay-kumar-singh

Hi @vijay-kumar-singh. Thanks for creating this issue.

We'll be looking into this.

SimonHoiberg avatar Nov 04 '20 05:11 SimonHoiberg