Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation problem on react18 #367

Open
pegahph opened this issue Apr 22, 2023 · 3 comments
Open

installation problem on react18 #367

pegahph opened this issue Apr 22, 2023 · 3 comments

Comments

@pegahph
Copy link

pegahph commented Apr 22, 2023

Hi, I am using the package on a nextjs project and my react version is 18, I have installed @vime/react before and it was working fine but now that I need to reinstall my packages, this package gives me a dependency error and does not get install

*note: I don't have this problem with @vim/core it installs fine

Screenshot (156)

@owujib
Copy link

owujib commented May 25, 2023

I am having the exact same problem, I am not sure if the solution I have is really cool.
I resolved it with adding the ---legacy-peer-deps flag.
or you could create a .npmrc file and add this to it
legacy-peer-deps=true

@jonybekov
Copy link

@owujib legacy-peer-deps is just a temporary solution. Ideally, it should support React 18

@owujib
Copy link

owujib commented Jun 5, 2023

@owujib legacy-peer-deps is just a temporary solution. Ideally, it should support React 18

Yeah I really wish it would be resolved

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

No branches or pull requests

3 participants