# Error when integertion with NextJs

**URL:** <https://community.sendbird.com/t/error-when-integertion-with-nextjs/4780>\
**Category:** React\
**Tags:** bug\
**Created:** [May 28, 2022, 8:10am UTC](https://community.sendbird.com/t/error-when-integertion-with-nextjs/4780 "2022-05-28T08:10:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Huynie](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/huynie/32/2557_2.png) [@Huynie](https://community.sendbird.com/u/Huynie)\
**Post date:** [May 28, 2022, 8:10am UTC](https://community.sendbird.com/t/error-when-integertion-with-nextjs/4780/1 "2022-05-28T08:10:41Z")

</div>

Hi, when i intergiton uikit with nextjs, it show erro like bellow image.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/c/c4dde0b592bf8b2eadb17597865a7bb5009d0578.png)

How can i fix it ?

Here is my package version:

```auto
"react": "18.0.0",
"react-dom": "18.0.0",
"next": "12.1.5",
"sendbird-uikit": "^2.7.1",

```

See your reply soon. Thank you

---

<div class="post-metadata">

**Author:** ![Huynie](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/huynie/32/2557_2.png) [@Huynie](https://community.sendbird.com/u/Huynie)\
**Post date:** [May 30, 2022, 2:49am UTC](https://community.sendbird.com/t/error-when-integertion-with-nextjs/4780/2 "2022-05-30T02:49:53Z")

</div>

Some one help me fix this bug ☹
