You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running on npm install agora-rtm-react on newly created react app
using npx create-react-app my-app --template typescript
gives this error
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-app@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0 || ^17" from agora-rtm-react@1.1.0
npm ERR! node_modules/agora-rtm-react
npm ERR! agora-rtm-react@"*" 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 /home/codespace/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/codespace/.npm/_logs/2022-07-30T10_52_19_973Z-debug-0.log
The text was updated successfully, but these errors were encountered:
Running on
npm install agora-rtm-react
on newly created react appusing
npx create-react-app my-app --template typescript
gives this error
The text was updated successfully, but these errors were encountered: