# Can't require three-spritetext for use with three.js

**URL:** <https://talk.observablehq.com/t/cant-require-three-spritetext-for-use-with-three-js/3218>\
**Category:** Help\
**Created:** [May 5, 2020, 4:21pm UTC](https://talk.observablehq.com/t/cant-require-three-spritetext-for-use-with-three-js/3218 "2020-05-05T16:21:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flimsyhat](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/flimsyhat/32/3444_2.png) [@flimsyhat](https://talk.observablehq.com/u/flimsyhat)\
**Post date:** [May 5, 2020, 4:21pm UTC](https://talk.observablehq.com/t/cant-require-three-spritetext-for-use-with-three-js/3218/1 "2020-05-05T16:21:11Z")

</div>

I’ve followed [the approach described here](https://talk.observablehq.com/t/cant-require-three-meshline-package/1452) and can’t get the module to load properly:

> **[Importing three-spritetext](https://observablehq.com/d/0d08618bac57f8b3)**
>
> An Observable notebook by Sean Kelley.

---

<div class="post-metadata">

**Author:** ![flimsyhat](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/flimsyhat/32/3444_2.png) [@flimsyhat](https://talk.observablehq.com/u/flimsyhat)\
**Post date:** [May 5, 2020, 5:42pm UTC](https://talk.observablehq.com/t/cant-require-three-spritetext-for-use-with-three-js/3218/2 "2020-05-05T17:42:14Z")

</div>

Fixed now! Works with just a regular `require`…

```
SpriteText = require("three-spritetext")

```

…so long as you’ve loaded three.js globally on the page as THREE.
