splinetool / r3f-spline

Hook to load Spline scenes into react-three-fiber
MIT License
148 stars 8 forks source link

Failed to compile - mergeBufferGeometries #23

Open scdozer opened 4 months ago

scdozer commented 4 months ago

Failed to compile ./node_modules/@splinetool/loader/build/SplineLoader.js Attempted import error: 'mergeBufferGeometries' is not exported from 'three/examples/jsm/utils/BufferGeometryUtils.js' (imported as 'pI'). This error occurred during the build process and can only be dismissed by fixing the error.

i think maybe its just mergeGeometries ?

https://threejs.org/docs/#examples/en/utils/BufferGeometryUtils.mergeBufferGeometries

danpliego commented 4 months ago

same issue!

rinkevich commented 4 months ago

Same issue 😭

Vyom-V commented 4 months ago

same issue :')

craxrev commented 3 months ago

as workarounds you can:

david-mcbacon commented 3 months ago

same issue

A1aNNN commented 3 months ago

same issue as well

A1aNNN commented 3 months ago

It was resolved for me after I switched versions for three and @splinetool/loader. I switched from three@0.161.0 to three@0.149.0 and from @splinetool/loader@1.0.64 to @splinetool/loader@1.0.54

david-mcbacon commented 3 months ago

It was resolved for me after I switched versions for three. I switched from three@0.161.0 to three@0.149.0

When I tried to swith to older three versions I got this error instead

⨯ node_modules/three/build/three.module.js (40376:0) @ eval ⨯ unhandledRejection: ReferenceError: ProgressEvent is not defined

xardit commented 2 months ago

spline is broken, 2 years of un-updated code

Noiztbander commented 2 months ago

same issue, yet no solved :(

Crazy0717 commented 2 weeks ago

same issue😔

dayatwork commented 6 days ago

same issue

archodev commented 22 hours ago

same issue - has anyone found a temporary fix? Downgrading didn't work for me