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

Recent three-mesh-bvh upgrade to 0.7.7 breaks reagraph #277

Open
jmurreypc opened this issue Sep 10, 2024 · 2 comments
Open

Recent three-mesh-bvh upgrade to 0.7.7 breaks reagraph #277

jmurreypc opened this issue Sep 10, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jmurreypc
Copy link

jmurreypc commented Sep 10, 2024

Describe the bug

Projects with a dependency on reagraph can no longer be built, due to the latest upgrade in three-mesh-bvh.

Steps to Reproduce the Bug or Issue

  1. Add "reagraph": "^4.19.3" to your projects package.json.
  2. Run npm install.
  3. Build your application with any build tool.

Expected behavior

Build should be successful

Screenshots or Videos

Build fails with error:

ERROR in ./node_modules/three-mesh-bvh/src/utils/ExtensionUtilities.js 10:31-60
export 'BatchedMesh' (imported as 'BatchedMesh') was not found in 'three' (possible exports: ....

Platform

  • Reagraph Version: 4.19.3

Your Example Website or App

No response

Additional context

This may be able to be fixed by updating reagraphs dependency on three. It is currently at 0.154.0, but the latest version of three is 0.168.0

@amcdnl amcdnl added the bug Something isn't working label Sep 10, 2024
@brian-murphy
Copy link

brian-murphy commented Sep 16, 2024

A note about the scope here... I'm seeing this on all reagraph versions going back to at least v2.1.6 (that's just how far I tested, it probably goes back further).

I'm looking for a workaround at the moment. Would be glad to hear if anyone has already figured one out.

@amcdnl

@brian-murphy
Copy link

Forcing three-mesh-bvh to 0.7.6 got it to build

package.json:

...
  "resolutions": {
    "three-mesh-bvh": "0.7.6"
  },

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