Uncaught TypeError: Cannot read properties of undefined (reading '__depends__')

After installing the bmpn-properties-panel and followed the simple example shown on bpmn-properties-paanel github when i run the code using npm run all i encounter this problem.

Apparently the error is in Diagram.js line 36
(m.depends || []).forEach(visit);

And i don’t know what to do.

Hello @Etin,

In order for us to be able to understand the issue properly, could you please provide a Codesandbox that demonstrates your problem?

Codesandbox link

Seems like the same problem as in your other thread: Bundling app.js file with webpack - #4 by Niklas_Kiefer

1 Like

Yeah and you’ve already solved it there.