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

Not compatible with React 18 #91

Open
marcellintacite opened this issue Jul 11, 2023 · 7 comments
Open

Not compatible with React 18 #91

marcellintacite opened this issue Jul 11, 2023 · 7 comments

Comments

@marcellintacite
Copy link

I am installing this package under React 18 but i am getting this error :
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
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.8.0" from [email protected]
npm ERR! node_modules/react-speech-kit
npm ERR! react-speech-kit@"*" 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! See C:\Users\Administrator\AppData\Local\npm-cache\eresolve-report.txt for a full report.

@shihui-huang
Copy link

I got the same error

@TheDoomfire
Copy link

Did you ever fix it?

@pollen8
Copy link

pollen8 commented Sep 18, 2023

you will need to install with legacy peer deps

npm i -S react-speech-kit --legacy-peer-deps  

@Zapallit0
Copy link

npm i -S react-speech-kit --legacy-peer-deps i tried this but keep showing the error :c

@suhrob008
Copy link

          1

Screenshot from 2024-01-19 23-26-59

2
Screenshot from 2024-01-19 23-25-42

3
Screenshot from 2024-01-19 23-28-33

Why can't these be installed?
@MikeyParton

Originally posted by @suhrob008 in #33 (comment)

@suhrob008
Copy link

npm WARN using --force Recommended protections disabled.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN peer react@">=18" from @chakra-ui/[email protected]
npm WARN node_modules/@chakra-ui/accordion
npm WARN @chakra-ui/accordion@"2.3.1" from @chakra-ui/[email protected]
npm WARN node_modules/@chakra-ui/react
npm WARN 92 more (@chakra-ui/alert, @chakra-ui/avatar, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.8.0" from [email protected]
npm WARN node_modules/react-speech-kit
npm WARN react-speech-kit@"^3.0.1" from the root project
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN peer react@"^16.8.0" from [email protected]
npm WARN node_modules/react-speech-kit
npm WARN react-speech-kit@"^3.0.1" from the root project
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2freact-speech-kit - Not found
npm ERR! 404
npm ERR! 404 '@types/react-speech-kit@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: /home/suhrob/.npm/_logs/2024-01-19T19_38_17_636Z-debug-0.log

Screenshot from 2024-01-20 00-42-13

Help Me Please!

@ryanjames1729
Copy link

You have to change the config file in your root directory to react^16.8 to avoid the errors or use --force.

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

7 participants