Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

THREEJS. 0.149.0 brake TROISJS #183

Open
andysay opened this issue Feb 2, 2023 · 3 comments
Open

THREEJS. 0.149.0 brake TROISJS #183

andysay opened this issue Feb 2, 2023 · 3 comments

Comments

@andysay
Copy link

andysay commented Feb 2, 2023

Threejs 0.149.0

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

@lh1me
Copy link

lh1me commented Feb 15, 2023

Is there any solution?

@Freakaz0id
Copy link

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 three@0.136.0

@Kreshnik
Copy link

Kreshnik commented Jun 5, 2023

I am facing the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants