React app fails to compile: "Attempted import error: 'Face3' is not exported from 'three' (imported as 'y')." #163
-
I tried installing use-cannon onto my react app through This is the error message I get
Here is my package.json
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
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 |
Beta Was this translation helpful? Give feedback.
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.