Widget Problem that breaks Jupyter

I am having a problem my Jupyter widget and I believe it is a 3.x to 4.x migration problem. I’ve been struggling with this and would it if I could get some help.

At the present state, installing my dev package prevents Jupyter running. In a clean environment, when I try to start Jupyter Lab I get a blank page and this appears in the console:

TypeError: can't convert undefined to object .excmds_content.generated.ts:2097:27
Uncaught (in promise) TypeError: t is undefined
    i http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    b http://localhost:8888/static/lab/812.fa595a2be03628e77c9a.js?v=fa595a2be03628e77c9a:1
    K http://localhost:8888/static/lab/812.fa595a2be03628e77c9a.js?v=fa595a2be03628e77c9a:1
    K http://localhost:8888/static/lab/812.fa595a2be03628e77c9a.js?v=fa595a2be03628e77c9a:1
jlab_core.a61821d8a2a9c35d7996.js:1:422073
​

When I uninstall my dev package, Jupyter Lab works fine. There’s something wrong with my JavaScript Extension code. My code has no variable named t though.

You can find the code I am using here:

It is build with these commands:

jlpm install
jlpm build
hatch clean
hatch build

I did the best I could with the Extension Migration Guide and worked through a lot of issues already but am stumped by this one.

You can see the packages installed in my environment here:

I’m happy to try the migration again, or anything else to get this to work correctly. Thanks!!!