hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.19k stars 407 forks source link

GLTFLoader cannot be import in the ThreeJS Face example #220

Closed Ariamangames closed 1 year ago

Ariamangames commented 2 years ago

I want to import a simple model and followed the three.js documentation import { GLTFLoader } from "./GLTFLoader.js";

I took GLTFLoader from the original reference. I get this error when loading

Uncaught TypeError: Failed to resolve module specifier "three". Relative references must start with either "/", "./", or "../".

what is the problem?

hiukim commented 2 years ago

Apparently three is missing. probably something wrong with your import.

ghost commented 1 year ago

Same as posted on #173