jnsmalm / pixi3d

The 3D renderer for PixiJS. Seamless integration with 2D applications.
https://pixi3d.org
MIT License
752 stars 43 forks source link

Crashes with "Could not find dependency: '@pixi/<it varies>' relative to '/node_modules/pixi3d/dist/cjs/pixi5/pixi3d.js" #200

Open patreeceeo opened 6 months ago

patreeceeo commented 6 months ago

Steps to reproduce:

I haven't figured out how to reliably reproduce it. Seems like it might be a race condition?

Anyway, if I import "pixi3d/pixi7" sometimes this crash occurs.

patreeceeo commented 6 months ago

I've also it happening in this codesandbox which is the sprite3d example modified to use pixi.js v7.

jnsmalm commented 6 months ago

Thanks for reporting, I'll take a look. Can you give any more info how to reproduce?

jnsmalm commented 6 months ago

Also, I don't have access to your sandbox

patreeceeo commented 6 months ago

sorry I'm not that familiar with these "code sandboxes." I think I've made it public now: link