Closed justinhunt1223 closed 6 months ago
Hello @justinhunt1223 , in my project this is the command I use in terminal to compile the Typescript:
npm run lint && npm run rollup
I cannot reproduce the issue so I close the ticket, if you have more info, reopen and I will do the investigations
Closain
Checklist:
Release with the issue:
Current floor3d-card-modified.txt
Last working release (if known):
Browser and Operating System:
Description of problem:
Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "mwc-notched-outline" has already been used with this registry
Javascript errors shown in the web inspector (if applicable):
Additional information: I'm trying to work on some changes and have the development environment setup with vscode. I updated home assistant to pull floor3d-card.js from http://localhost:5000/floor3d-card.js. The untouched file from the repo works this way. Once a change is made and floor3d-card.js is rebuilt, the error above appears and home assistant throws an error about the floor3d-card custom element does not exist.
To build the new js file, I ran npm start in the vscode terminal, is this the correct command? I attached the new compiled file for reference.