#Build error (using latest three, react-fiber)

2 messages · Page 1 of 1 (latest)

high sigil
#

yo ! probably n00b question right here, trying to do a quick project using a simple 3D render within latest nextjs (next 15, react 19).
Getting this issue when building:
./node_modules/three-stdlib/postprocessing/GlitchPass.js
Attempted import error: 'LuminanceFormat' is not exported from 'three' (imported as 'LuminanceFormat').

What am i missing here 😅 ?
Thanks in advance.

#

If anyone has the issue aswell, tried to lower the three.js version, ""three": "^0.171.0"" worked this issue out.