threejs gltf loader doesnt work multiple errors

hi i’m trying to import simple gltf model from sketchfab and display it with orbitview.

i get 2 errors:

was blocked because of a disallowed MIME type (“text/html”).

or

 Error resolving module specifier “three”. Relative module specifiers must start with “./”, “../” or “/”.

can anyone help me solve this problem?

to better understand what i am looking for take a look at this example form threejs website. it is exactly what i want to accomplish, but i couldn’t find it’s source code to read and learn from it, neither found proper guide about importing gltf models.

link to example