I has a little TypeScript project with lit
and BabylonJS
.
When I trying to import the Inspector, I got an error in the browser’s console:
Uncaught TypeError: Cannot read properties of undefined (reading 'Debug')
at webpack Universal Module Definition (universal Module Definition:9:1)
at universalModuleDefinition:10:2
I think some mistake in the tsconfig.json
or rollup.config.js
may produces this error. But currently I don’t understand what I need to look at and how to fix it.
Here is the project:
_bug-debugger.zip (3.1 KB)
to reproduce, after the npm i
run concurrently watch
, sync
and start
, then open http://localhost:8000/
Could someone help me?