Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Error while deploying on vercel #45

Open
soybeins opened this issue Feb 28, 2023 · 0 comments
Open

Error while deploying on vercel #45

soybeins opened this issue Feb 28, 2023 · 0 comments

Comments

@soybeins
Copy link

soybeins commented Feb 28, 2023

Conflict while building. Next.js with react version @18.2.0.

In the meantime I used a temporary fix npm i agora-rtc-react --legacy-peers-deps. Is this advisable?

16:12:35.133 | npm ERR! code ERESOLVE
16:12:35.136 | npm ERR! ERESOLVE could not resolve
16:12:35.136 | npm ERR!
16:12:35.137 | npm ERR! While resolving: [email protected]
16:12:35.137 | npm ERR! Found: [email protected]
16:12:35.137 | npm ERR! node_modules/react
16:12:35.137 | npm ERR!   react@"^18.2.0" from the root project
16:12:35.137 | npm ERR!   peer react@"^16 \|\| ^17 \|\| ^18" from @headlessui/[email protected]
16:12:35.137 | npm ERR!   node_modules/@headlessui/react
16:12:35.137 | npm ERR!     @headlessui/react@"^1.7.10" from the root project
16:12:35.138 | npm ERR!   10 more (@heroicons/react, @react-oauth/google, next, react-dom, ...)
16:12:35.138 | npm ERR!
16:12:35.138 | npm ERR! Could not resolve dependency:
16:12:35.138 | npm ERR! peer react@"^16.8.0 \|\| ^17" from [email protected]
16:12:35.138 | npm ERR! node_modules/agora-rtc-react
16:12:35.138 | npm ERR!   agora-rtc-react@"github:AgoraIO-Community/agora-rtc-react#v1.0.1" from the root project
16:12:35.138 | npm ERR!
16:12:35.138 | npm ERR! Conflicting peer dependency: [email protected]
16:12:35.138 | npm ERR! node_modules/react
16:12:35.138 | npm ERR!   peer react@"^16.8.0 \|\| ^17" from [email protected]
16:12:35.138 | npm ERR!   node_modules/agora-rtc-react
16:12:35.139 | npm ERR!     agora-rtc-react@"github:AgoraIO-Community/agora-rtc-react#v1.0.1" from the root project
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant