trois
trois copied to clipboard
THREEJS. 0.149.0 brake TROISJS
Threejs 0.149.0
The requested module '/node_modules/.vite/deps/three.js?v=e331bae6' does not provide an export named 'RGBFormat'
Is there any solution?
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]
I am facing the same issue.