# File to choose on THREEJS folder

**URL:** <https://discourse.threejs.org/t/file-to-choose-on-threejs-folder/82625>\
**Category:** Questions\
**Created:** [May 15, 2025, 5:41pm UTC](https://discourse.threejs.org/t/file-to-choose-on-threejs-folder/82625 "2025-05-15T17:41:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pat66](https://avatars.discourse-cdn.com/v4/letter/p/c2a13f/32.png) [@pat66](https://discourse.threejs.org/u/pat66)\
**Post date:** [May 15, 2025, 5:41pm UTC](https://discourse.threejs.org/t/file-to-choose-on-threejs-folder/82625/1 "2025-05-15T17:41:52Z")

</div>

Hi everyone

I’m a beginner .On the course I suppose to add this file on my html file

 ![1](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/d/5/d567973db4271d90143d64f9988195e53f6847f4.jpeg)

but when I download the threejs file this is what I have

 ![2](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/1/5/15350a49ac3fd607a280197fc9eede3bda838f3d.jpeg)

Somebody can help me which file to choose ?

thanks by advance.

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [May 15, 2025, 5:50pm UTC](https://discourse.threejs.org/t/file-to-choose-on-threejs-folder/82625/2 "2025-05-15T17:50:12Z")

</div>

The answer is probably `three.js` or `three.module.js`, _HOWEVER_ it sounds like your course was written around an older version of three.js. If you know what version that is, I would recommend using the [dropdown on GitHub](https://github.com/mrdoob/three.js/tree/dev/build) …

 ![tag dropdown on github UI under build folder](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/2/e/2eb4baa40077798e41791686d6793c4eab5ddb70.png)

… to select the same three.js version as your course expects. Otherwise you may find that the filenames are not the only differences. 🙂

---

<div class="post-metadata">

**Author:** ![pat66](https://avatars.discourse-cdn.com/v4/letter/p/c2a13f/32.png) [@pat66](https://discourse.threejs.org/u/pat66)\
**Post date:** [May 15, 2025, 6:19pm UTC](https://discourse.threejs.org/t/file-to-choose-on-threejs-folder/82625/3 "2025-05-15T18:19:34Z")

</div>

HI guy

for your message when you write three.js I think you talk about the first one.is not threejs file is a three.cjs file and I have the error message in the console :

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [May 15, 2025, 6:44pm UTC](https://discourse.threejs.org/t/file-to-choose-on-threejs-folder/82625/4 "2025-05-15T18:44:28Z")

</div>

Ah I see. The latest version of three.js does not have a build that works in the same way as your older course seems to assume. You’ll need to check the [installation guide](https://threejs.org/manual/#en/installation) for how to install modern versions of three.js, or work out which version of three.js your course uses. What course do you mean? If you need to complete that _specific_ course then I’d recommend using an older three.js version to avoid problems. Otherwise you may want to find a more recently updated course.

---

<div class="post-metadata">

**Author:** ![pat66](https://avatars.discourse-cdn.com/v4/letter/p/c2a13f/32.png) [@pat66](https://discourse.threejs.org/u/pat66)\
**Post date:** [May 15, 2025, 6:49pm UTC](https://discourse.threejs.org/t/file-to-choose-on-threejs-folder/82625/5 "2025-05-15T18:49:38Z")

</div>

this course [https://threejs-journey.com/](https://threejs-journey.com/)

---

<div class="post-metadata">

**Author:** ![pat66](https://avatars.discourse-cdn.com/v4/letter/p/c2a13f/32.png) [@pat66](https://discourse.threejs.org/u/pat66)\
**Post date:** [May 15, 2025, 7:49pm UTC](https://discourse.threejs.org/t/file-to-choose-on-threejs-folder/82625/6 "2025-05-15T19:49:19Z")

</div>

I check the link

 ![a](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/3/9/39275f9958bac5598a1ff757f14e6b57d7455676.jpeg)

the result when I do `js console.log(THREE)`

 ![a1](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/9/9/99a7d4ad274888c634057d4a602e5944d102cf5b.jpeg)

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [May 15, 2025, 8:09pm UTC](https://discourse.threejs.org/t/file-to-choose-on-threejs-folder/82625/7 "2025-05-15T20:09:32Z")

</div>

1. You’ll need to replace `<version>` in the URLs with `0.176.0` or some other version
2. In any JS file that references `THREE` you must have `import * as THREE from 'three'` at the top of the file.

That said, the course suggests installing vite and three.js from npm, not by copying files or using a CDN ..

> **[First Three.js Project — Three.js Journey](https://threejs-journey.com/lessons/first-threejs-project#add-the-dependency)**
>
> The ultimate Three.js course whether you are a beginner or a more advanced developer

… unless you’re on a different lesson, so you may want to try that approach for later lessons.

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [May 15, 2025, 8:12pm UTC](https://discourse.threejs.org/t/file-to-choose-on-threejs-folder/82625/8 "2025-05-15T20:12:34Z")

</div>

three.js journey is a modern course so I expect it should work well with the latest version of three.js, but I’m surprised if the text “Copy the `three.min.js` file to your project” is part of the course … that seems different from the installation process it recommends in the link above.
