# Run a Three.js example locally on my computer?

**URL:** <https://discourse.threejs.org/t/run-a-three-js-example-locally-on-my-computer/10701>\
**Category:** Questions\
**Tags:** modules\
**Created:** [November 8, 2019, 4:04am UTC](https://discourse.threejs.org/t/run-a-three-js-example-locally-on-my-computer/10701 "2019-11-08T04:04:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZealAura](https://avatars.discourse-cdn.com/v4/letter/z/85f322/32.png) [@ZealAura](https://discourse.threejs.org/u/ZealAura)\
**Post date:** [November 8, 2019, 4:04am UTC](https://discourse.threejs.org/t/run-a-three-js-example-locally-on-my-computer/10701/1 "2019-11-08T04:04:32Z")

</div>

I’m new to Three.js and learning this amazing library.

I’m trying to run an Example from the Three.js website ([https://threejs.org/examples/#webgl\_geometry\_hierarchy2](https://threejs.org/examples/#webgl_geometry_hierarchy2)) locally on my computer, without using modules. I instead have the .js files I need saved locally to my project folder (module.js, stats.js, three.js, and orbitcontrols.js), but it is not working.

The errors I’m getting on my Firefox browser are:

![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/a/aa576ede648b1cac4f7b4a5357bb3a5e8685a9ec.png)

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [November 8, 2019, 11:13am UTC](https://discourse.threejs.org/t/run-a-three-js-example-locally-on-my-computer/10701/2 "2019-11-08T11:13:38Z")

</div>

Please share you whole project as a git repo since it’s not obvious what’s going wrong. You say use use `three.js` and `stats.js` but the errors show clearly the usage of the ES6 module versions.
