Console error with a model

Hi so my model was working perfectly fine and i’ve been playing around in three made lots and lots of code changes so I have no idea what i’ve done or what part of the code is causing this new bug… but does anyone know how to fix it or what i’ve actually done to cause this? because the model was working and I could See it now it doesn’t even show up its not even visible… any ideas?

Does the model still work if you drop it in gltf-viewer ?