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

Failed to compile - mergeBufferGeometries #23

Open
scdozer opened this issue Feb 20, 2024 · 26 comments
Open

Failed to compile - mergeBufferGeometries #23

scdozer opened this issue Feb 20, 2024 · 26 comments

Comments

@scdozer
Copy link

scdozer commented Feb 20, 2024

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
Copy link

same issue!

@rinkevich
Copy link

Same issue 😭

@Vyom-V
Copy link

Vyom-V commented Feb 25, 2024

same issue :')

@craxrev
Copy link

craxrev commented Mar 6, 2024

as workarounds you can:

  • downgrade threejs peerDependency to 0.151.0
  • replace all occurrences of "mergeBufferGeometries" with "mergeGeometries" in built files and push it to a new github repository and install that repo instead

@david-mcbacon
Copy link

same issue

@A1aNNN
Copy link

A1aNNN commented Mar 12, 2024

same issue as well

@A1aNNN
Copy link

A1aNNN commented Mar 12, 2024

It was resolved for me after I switched versions for three and @splinetool/loader. I switched from [email protected] to [email protected] and from @splinetool/[email protected] to @splinetool/[email protected]

@david-mcbacon
Copy link

david-mcbacon commented Mar 12, 2024

It was resolved for me after I switched versions for three. I switched from [email protected] to [email protected]

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
Copy link

xardit commented Apr 12, 2024

spline is broken, 2 years of un-updated code

@Noiztbander
Copy link

same issue, yet no solved :(

@Crazy0717
Copy link

same issue😔

@dayatwork
Copy link

same issue

@archodev
Copy link

archodev commented Jul 2, 2024

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

@MelchnerRoman
Copy link

same issue

@AITuring
Copy link

same issue😔

@BeckyStreetAudio
Copy link

same issue here. any updates?

@luxuereal
Copy link

same issue, can anyone fix that?

@dayatwork
Copy link

same issue

@ansonchaan
Copy link

ansonchaan commented Sep 13, 2024

same issue! please fix it!

@TyByers21
Copy link

Same issue!! Come on Spline!!!

@stevemer
Copy link

stevemer commented Oct 9, 2024

Same issue.

1 similar comment
@mike-hendriks
Copy link

Same issue.

@aaadamgo
Copy link

Just encountered this problem as well for the first time, I need a fix asap.

@jackkingham-au
Copy link

I was able to resolve this setting my three version to 0.149.0 from 0.169.0.

@aaadamgo
Copy link

I was able to resolve this setting my three version to 0.149.0 from 0.169.0.

I tried that too but it didn't work for me. I'm in Nextjs.

However, the only way around this entire issue I've found a couple of days ago, is to export as plain Three, instead of R3F, convert to a react component, then write my own animations (I just wanted to animate the camera). I don't have any issues now.

@simonwidjaja
Copy link

same here. pretty poor support by spline :/

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