Three USDZ Loader

I have tried the Threejs USDZLoader for loading usdz files but the official loader implementation is off the mark. It does not load most of the files I have tried. I did some digging and came across three-usdz-loader - npm ( The demo for this plugin loads all the files I have tested. However, I tried implementing it but got some weird errors.

I am continuously getting an error. Any idea why I am getting loading USDZ model TypeError: THREE.TextureLoader is not a constructor? I have moved external dependencies (.wasm / worker files) in a subfolder of the public folder.

If someone has tried this loader then please help me fix this issue.