# Cannot Upgrade SDK

**URL:** <https://devforum.zoom.us/t/cannot-upgrade-sdk/45619>\
**Category:** Web\
**Created:** [March 13, 2021, 1:16pm UTC](https://devforum.zoom.us/t/cannot-upgrade-sdk/45619 "2021-03-13T13:16:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankur.sharma](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@ankur.sharma](https://devforum.zoom.us/u/ankur.sharma)\
**Post date:** [March 13, 2021, 1:16pm UTC](https://devforum.zoom.us/t/cannot-upgrade-sdk/45619/1 "2021-03-13T13:16:07Z")

</div>

**Description**

We have using react version 16.13.1, zoom sdk requires 16.8.6 thus cannot upgrade it from 16.9.0.

**Error**

```
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: project-name@1.0.0
npm ERR! Found: react@16.14.0
npm ERR! node_modules/react
npm ERR! react@"^16.13.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"16.8.6" from @zoomus/websdk@1.9.1
npm ERR! node_modules/@zoomus/websdk
npm ERR! @zoomus/websdk@"^1.9.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 

```

**Which Client Web SDK version?**  
Knowing the version can help us to identify your issue faster. [e.g. 1.9.0]

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Upgrade zoom sdk to latest version.

**Additional context**  
N/A

---

<div class="post-metadata">

**Author:** ![ankur.sharma](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@ankur.sharma](https://devforum.zoom.us/u/ankur.sharma)\
**Post date:** [March 15, 2021, 6:05am UTC](https://devforum.zoom.us/t/cannot-upgrade-sdk/45619/2 "2021-03-15T06:05:33Z")

</div>

Update: Project using react \> 16.8.5 cannot upgrade from zoom 9.0.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 16, 2021, 6:25pm UTC](https://devforum.zoom.us/t/cannot-upgrade-sdk/45619/3 "2021-03-16T18:25:58Z")

</div>

Hey ankur.sharma,

Thank you for reaching out to the Zoom Developer Forum. It looks like your project has `react` at version ^16.13.1 as a dependency in your `package.json` file. I would change the `react` version in your `package.json` file to “16.8.6” so that you are using a version of react that is compatible with the Web SDK.

After you change the version in your package.json file, remove the node\_modules folder and reinstall dependencies.

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![ankur.sharma](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@ankur.sharma](https://devforum.zoom.us/u/ankur.sharma)\
**Post date:** [March 17, 2021, 7:01am UTC](https://devforum.zoom.us/t/cannot-upgrade-sdk/45619/4 "2021-03-17T07:01:21Z")

</div>

That didn’t help, series of dependencies error.

Using latest react on websdk would greatly help.

---

<div class="post-metadata">

**Author:** ![akshayareddy22111](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/akshayareddy22111/32/17046_2.png) [@akshayareddy22111](https://devforum.zoom.us/u/akshayareddy22111)\
**Post date:** [March 17, 2021, 3:57pm UTC](https://devforum.zoom.us/t/cannot-upgrade-sdk/45619/5 "2021-03-17T15:57:39Z")

</div>

Have your issue solved?

---

<div class="post-metadata">

**Author:** ![akshayareddy22111](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/akshayareddy22111/32/17046_2.png) [@akshayareddy22111](https://devforum.zoom.us/u/akshayareddy22111)\
**Post date:** [March 17, 2021, 3:58pm UTC](https://devforum.zoom.us/t/cannot-upgrade-sdk/45619/6 "2021-03-17T15:58:13Z")

</div>

I have same issue, please help if possible

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 18, 2021, 12:45am UTC](https://devforum.zoom.us/t/cannot-upgrade-sdk/45619/7 "2021-03-18T00:45:53Z")

</div>

Hey @ankur.sharma and @akshayareddy22111,

Thank you for the update. I can understand that using the latest version of react can be helpful but this isn’t something we can continually deliver due to our engineering teams testing process.

However, this issue is related to the dependencies used by your project and you should be able to resolve the issue by removing or changing the dependencies used in your package.json file.

You can see in our [Sample Vue.js App](https://github.com/zoom/websdk-sample-vuejs) that we don’t include react as a dependency either.

If you’re able to provide the package.json file you’re using, I can be more specific on the changes that need to be made. Also, the new dependency errors that you’re seeing can help to troubleshoot the issue.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![ankur.sharma](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@ankur.sharma](https://devforum.zoom.us/u/ankur.sharma)\
**Post date:** [March 24, 2021, 7:56pm UTC](https://devforum.zoom.us/t/cannot-upgrade-sdk/45619/8 "2021-03-24T19:56:30Z")

</div>

These are the associated dependencies:

```
"@zoomus/websdk": "^1.9.0",
"bootstrap": "^4.5.0",
"connected-react-router": "6.4.0",
"history": "^4.9.0",
"i18next": "^19.8.4",
"prop-types": "15.7.2",
"react": "^16.13.1",
"react-bootstrap": "^1.0.1",
"react-bottom-scroll-listener": "^4.1.0",
"react-calendar-heatmap": "^1.8.0",
"react-circular-progressbar": "^2.0.1",
"react-color": "^2.19.3",
"react-datepicker": "^3.1.3",
"react-device-detect": "^1.6.2",
"react-dom": "^16.13.1",
"react-dropdown-tree-select": "^2.3.1",
"react-full-screen": "^0.2.4",
"react-ga": "^2.5.7",
"react-google-recaptcha": "^1.0.5",
"react-helmet": "5.2.1",
"react-highlight-words": "^0.16.0",
"react-html-parser": "^2.0.2",
"react-i18next": "^11.8.5",
"react-input-mask": "^3.0.0-alpha.2",
"react-intl": "2.8.0",
"react-lazyload": "^3.0.0",
"react-pdf": "^4.1.0",
"react-redux": "7.0.3",
"react-router-dom": "5.0.0",
"react-router-redux": "^4.0.8",
"react-select": "2.4.3",
"react-slick": "^0.24.0",
"react-smartbanner": "5.1.3",
"react-sortable-hoc": "^1.11.0",
"react-stripe-checkout": "2.6.3",
"react-stripe-elements": "^3.0.0",
"react-tooltip": "^3.10.0",
"redux": "4.0.1",
"redux-saga": "1.0.2"
```

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 25, 2021, 6:35pm UTC](https://devforum.zoom.us/t/cannot-upgrade-sdk/45619/9 "2021-03-25T18:35:09Z")

</div>

Hey @ankur.sharma,

Thank you for sharing your project dependencies! It looks like you were getting dependency errors because in order to use an older version of the `react` package, you’ll also want to make sure your other dependencies (`react-*`) are compatible with the older react package.

Let me know if that helps.

Thanks,  
Max

---

<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:** [April 25, 2021, 4:35am UTC](https://devforum.zoom.us/t/cannot-upgrade-sdk/45619/10 "2021-04-25T04:35:11Z")

</div>

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