Skip to content

React app fails to compile: "Attempted import error: 'Face3' is not exported from 'three' (imported as 'y')." #163

Answered by stockhuman
Veeeeti asked this question in Q&A
Discussion options

You must be logged in to vote

Released very recently, v0.6.0 of @react-three/cannon works with three >=0.125.0, which no longer exported the old geometry and Face3 classes.

As an aside, you can remove use-cannon from your dependencies.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nekwo
Comment options

@stockhuman
Comment options

Answer selected by stockhuman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants