next-js-with-threejs icon indicating copy to clipboard operation
next-js-with-threejs copied to clipboard

Trying to import into my project

Open GargantulaKon opened this issue 3 years ago • 0 comments

When I test the Birds page locally on my Next website, I see this error:

 1 of 2 unhandled errors
Unhandled Runtime Error
TypeError: Cannot read property '1' of undefined
  23 | <mesh
  24 |   name="Object_0"
> 25 |   morphTargetDictionary={gltf.__$[1].morphTargetDictionary}

I tried to change the import of 'react-three-fiber' to '@react-three/fiber' to see if the new version fixes the issue, but I still have the same issue.

How do I fix that?

GargantulaKon avatar May 13 '21 15:05 GargantulaKon