Unable to install (npm install @zoomus/websdk) in a fresh app created with “npx create-next-app zoom_web --use-npm” with typescript.
Error
npm in @zoomus/websdk --save
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: zoom_web @ 0.1.0
npm ERR! Found: react @ 17.0.2
npm ERR! node_modules/react
npm ERR! react @" 17.0.2 " from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react @" 16.8.6 " from @zoomus/websdk @ 1.9.5
npm ERR! node_modules/@zoomus/websdk
npm ERR! @zoomus/websdk @" ***** " 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!
npm ERR! See /Users/mucalabs/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mucalabs/.npm/_logs/2021-05-26T17_08_58_881Z-debug.log
Which Web Client SDK version?
1.9.5
To Reproduce(If applicable)
Steps to reproduce the behavior:
- “npx create-next-app zoom_web --use-npm.”
- Go to app folder and “touch tsconfig.json”.
- “npm install --save-dev typescript @types/react”.
- “npm run dev”. – This populates the tsconfig.json file.
- Install Zoom Web SDK: “npm in @zoomus/websdk --save”.