# Uppy throw nanoid is not a function

**URL:** <https://community.transloadit.com/t/uppy-throw-nanoid-is-not-a-function/16023>\
**Category:** Uppy\
**Created:** [April 4, 2022, 8:16am UTC](https://community.transloadit.com/t/uppy-throw-nanoid-is-not-a-function/16023 "2022-04-04T08:16:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuananhpham142](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/tuananhpham142/32/555_2.png) [@tuananhpham142](https://community.transloadit.com/u/tuananhpham142)\
**Post date:** [April 4, 2022, 8:16am UTC](https://community.transloadit.com/t/uppy-throw-nanoid-is-not-a-function/16023/1 "2022-04-04T08:16:11Z")

</div>

Dear everyone, I’m facing an issues, I’m using uppy, uppy/react latest version with react-scripts: 5.0.0 but when i try to use component of Uppy, it keep showing error:

- “nanoid is not a function”,  
anyone have the solution?

---

<div class="post-metadata">

**Author:** ![Merlijn](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/merlijn/32/1382_2.png) [@Merlijn](https://community.transloadit.com/u/Merlijn)\
**Post date:** [April 4, 2022, 8:23am UTC](https://community.transloadit.com/t/uppy-throw-nanoid-is-not-a-function/16023/2 "2022-04-04T08:23:43Z")

</div>

You can take a look at the answers in this issue: [Uppy throws with latest create-react-app (react-scripts 5), Uncaught TypeError: nanoid is not a function · Issue #3376 · transloadit/uppy · GitHub](https://github.com/transloadit/uppy/issues/3376).

It’s an issue on the CRA side, unfortunately.
