# React + Vite Error C2 function

**URL:** <https://devforum.zoom.us/t/react-vite-error-c2-function/85910>\
**Category:** Web\
**Created:** [April 3, 2023, 11:42am UTC](https://devforum.zoom.us/t/react-vite-error-c2-function/85910 "2023-04-03T11:42:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kokonur1020](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kokonur1020/32/46607_2.png) [@kokonur1020](https://devforum.zoom.us/u/kokonur1020)\
**Post date:** [April 3, 2023, 11:42am UTC](https://devforum.zoom.us/t/react-vite-error-c2-function/85910/1 "2023-04-03T11:42:16Z")

</div>

Hello, i’ve recently init Zoom Client with React v.18.2.0 + Vite. So i got error message Uncaught TypeError: c2 is not a function on console. The error message same as i tried on Vue 3 + Vite. Maybe something conflict with Vite Bundler ?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/1/512292353eec8175384536e4647efa876a0f775c.png)

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [April 3, 2023, 4:11pm UTC](https://devforum.zoom.us/t/react-vite-error-c2-function/85910/2 "2023-04-03T16:11:23Z")

</div>

@kokonur1020 hope you will be fine.

I fixed that c2 is not a function by reducing the Vue version from Vue3 to Vue2.

You can watch that session [here](https://youtu.be/CMpe56VoTTo).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 4, 2023, 2:12am UTC](https://devforum.zoom.us/t/react-vite-error-c2-function/85910/3 "2023-05-04T02:12:08Z")

</div>

Closed on May 4, 2023, 2:12am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
