You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 27, 2018. It is now read-only.
I'm trying to use this module with the code below :
import THREE from 'three'; import GLTF2Loader from 'three-gltf2-loader'; GLTF2Loader(THREE); console.log(typeof THREE.GLTF2Loader);
But I have the error 'Can not read property of undefined', referencing the 'THREE'. However I'm using some elements of THREE which works.
And even if I remove the '2', the error still remains.
Another clue : webpack is displaying warning :
"export 'default' (imported as 'THREE') was not found in 'three'
For you, is it a THREE error, or a GLTF2Loader error ?...
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to use this module with the code below :
import THREE from 'three'; import GLTF2Loader from 'three-gltf2-loader'; GLTF2Loader(THREE); console.log(typeof THREE.GLTF2Loader);
But I have the error 'Can not read property of undefined', referencing the 'THREE'. However I'm using some elements of THREE which works.
And even if I remove the '2', the error still remains.
Another clue : webpack is displaying warning :
"export 'default' (imported as 'THREE') was not found in 'three'
For you, is it a THREE error, or a GLTF2Loader error ?...
The text was updated successfully, but these errors were encountered: