hackingbeauty / react-mic

Record audio from a user's microphone and display a cool visualization.
https://hackingbeauty.github.io/react-mic/
448 stars 155 forks source link

react-mic is not supporting in react 18.0.x #150

Open amjedpulikkal opened 3 months ago

amjedpulikkal commented 3 months ago

amjedpulikkal@amjedpulikkal-HP-Notebook:~/Desktop/SoloStack (Copy)/front-end$ sudo npm i react-mic npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: front-end@0.0.0 npm error Found: react@18.3.1 npm error node_modules/react npm error react@"^18.2.0" from the root project npm error npm error Could not resolve dependency: npm error peer react@"16.x" from react-mic@12.4.6 npm error node_modules/react-mic npm error react-mic@"*" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /root/.npm/_logs/2024-05-08T09_56_16_291Z-eresolve-report.txt

npm error A complete log of this run can be found in: /root/.npm/_logs/2024-05-08T09_56_16_291Z-debug-0.log

Sanaullahbugti commented 2 months ago

Hey @amjedpulikkal Have you able to resolve or found any other solution ?

amjedpulikkal commented 2 months ago

@Sanaullahbugti No but we can create similar components

Sanaullahbugti commented 2 months ago

Yeh, Now I found another liberary which is working react-audio-voice-recorder its working pretty fine image