trois icon indicating copy to clipboard operation
trois copied to clipboard

THREEJS. 0.149.0 brake TROISJS

Open andysay opened this issue 3 years ago • 3 comments

Threejs 0.149.0

The requested module '/node_modules/.vite/deps/three.js?v=e331bae6' does not provide an export named 'RGBFormat'

andysay avatar Feb 02 '23 15:02 andysay

Is there any solution?

lh1me avatar Feb 15 '23 08:02 lh1me

I can confirm the issue. The reason is, that ThreeJS depricated RGBFormat in version 0.137.0 and now uses RGBAFormat instead. This simply need to be refactored in trois.

@lh1me, @andysay: you can work around the issue for now by downgrading the package "three" to version 0.136.0, e.g. using yarn:

yarn upgrade [email protected]

Freakaz0id avatar Feb 16 '23 11:02 Freakaz0id

I am facing the same issue.

Kreshnik avatar Jun 05 '23 15:06 Kreshnik