direflow
direflow copied to clipboard
running app in debug mode: pause on promise rejection - DOMException: Failed to execute 'define' on 'CustomElementRegistry'
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:
- Run direflow app in chrome browser - open debugger by right click browser and select inspect
- 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.
- 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)
Hi @vijay-kumar-singh. Thanks for creating this issue.
We'll be looking into this.