# No GLTF file will build in dist package. Download from threejs editor makes no difference

**URL:** <https://discourse.threejs.org/t/no-gltf-file-will-build-in-dist-package-download-from-threejs-editor-makes-no-difference/74582>\
**Category:** Questions\
**Created:** [November 29, 2024, 4:09pm UTC](https://discourse.threejs.org/t/no-gltf-file-will-build-in-dist-package-download-from-threejs-editor-makes-no-difference/74582 "2024-11-29T16:09:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![meminine](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@meminine](https://discourse.threejs.org/u/meminine)\
**Post date:** [November 29, 2024, 4:09pm UTC](https://discourse.threejs.org/t/no-gltf-file-will-build-in-dist-package-download-from-threejs-editor-makes-no-difference/74582/1 "2024-11-29T16:09:30Z")

</div>

I’ve tried every tip I can find online to get this to work. I’ve tried loading many different models including the examples from mrdoob- GLB and GLTF.

They all display fine with the live server, which means the paths are correct.  
When I do npm run build , there’s a load of errors in the ‘dist’ js file including:

new Error(“THREE.GLTFLoader: Unsupported asset. glTF versions \>=2.0 are supported.”

Regular geometry displays fine. I’m using node and vite. Please can you help me! I will be so grateful to solve this problem and get my beautiful models to load.

---

<div class="post-metadata">

**Author:** ![meminine](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@meminine](https://discourse.threejs.org/u/meminine)\
**Post date:** [November 29, 2024, 5:42pm UTC](https://discourse.threejs.org/t/no-gltf-file-will-build-in-dist-package-download-from-threejs-editor-makes-no-difference/74582/2 "2024-11-29T17:42:24Z")

</div>

I actually read the console on the browser and it said the model was not found… so I put the model in the build folder and then it worked! I can’t believe it took me so long to see this
