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

three 0.162.0 breaks drei #1852

Closed
cdeath opened this issue Feb 29, 2024 · 4 comments
Closed

three 0.162.0 breaks drei #1852

cdeath opened this issue Feb 29, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@cdeath
Copy link

cdeath commented Feb 29, 2024

  • three version: 0.162.0
  • @react-three/fiber version: 8.15.16
  • @react-three/drei version: 9.99.4
  • node version: v18.19.1
  • pnpm version: 8.15.4

Problem description:

✘ [ERROR] No matching export in "node_modules/.pnpm/three@0.162.0/node_modules/three/build/three.module.js" for import "LinearEncoding"

node_modules/@react-three/drei/core/SpotLight.js:3:76:
  3 │ ...enderTarget, RGBAFormat, LinearEncoding, ShaderMaterial, DoubleS...

Suggested solution:

image
@cdeath cdeath added the bug Something isn't working label Feb 29, 2024
@cdeath
Copy link
Author

cdeath commented Feb 29, 2024

for now i pinned three at 0.161.0

@tb-viktor
Copy link

Same here. We were hoping to upgrade to r162 since it contains an important bug fix, but then this error popped up.

@chuhongkyu
Copy link

Same here. I also encountered the same issue and proceeded with using "three": "0.161.0".

@CodyJasonBennett
Copy link
Member

This is fixed in https://github.com/pmndrs/drei/releases/tag/v9.99.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants