Three.js project modules not working with index.html

  1. git lfs track “*.gltf”
  2. git add .gitattributes
  3. git commit -m “commit1”
  4. git push
    5.git add betterterrain.gltf
    6.git commit -m “commit2”
  5. git push

Now all files are within my repository, but upon opening my github pages, the first error that is thrown from the console is "THREE is not defined at GLTFLoader.js:3 but it is defined in main.js

html.index is not connected to main.js, which is connected to style.css. Thus my page is only html. All files are in the root folder, I don’t know why my page only displays (index.html) under Sources of the dev console.