I got a 404 error when I ran the line as written, but the 404 error went away when I added .js. So, should the path end in .js? I am a new user of three.js.
@@ -85,7 +85,7 @@
</p>
<code>
- import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader';
+ import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
</code>
<p>