GLTFLoader gives 404 error on localhost

My GLTFLoader gives a 404 error on localhost.

The files are present.
The JS for GLTFLoader is present.
My other Loaders are working (like SVGLoader).
The GLTFLoader works fine on github.

Anyone have any ideas on what might be happening?


Are you running chrome from a shortcut - with this in the Target:?
“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” chrome --allow-file-access-from-files

Plus, you do have this guy in html, right?
<script type="text/javascript" src="js/loaders/GLTFLoader.js"></script>

You might want to have a look at the following guide: How to run things locally

Also check if there are any error messages in the browser console and network tab.