Skip to content

Conversation

guillaumeRot
Copy link

Description

I noticed an error when executing command: npm install

Here is the error:

npm error Conflicting peer dependency: react@18.3.1
npm error node_modules/react
npm error   peer react@"^16.8.0  || ^17 || ^18" from usehooks-ts@2.16.0
npm error     usehooks-ts@"^2.16.0" from the root project 

The problem is react 19 is not supported by usehooks-ts 2.16.0

What I did

In the usehooks-ts project (https://github.com/juliencrn/usehooks-ts), there is a newer version 3.1.1 that accepts react 19.

Copy link

vercel bot commented Mar 31, 2025

@guillaumeRot is attempting to deploy a commit to the browserbase Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant