react-hls icon indicating copy to clipboard operation
react-hls copied to clipboard

react 17 support

Open IbrahimShamma99 opened this issue 4 years ago • 4 comments

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: hls-player@undefined npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! react@"17.0.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.13.1" from [email protected] npm ERR! node_modules/react-hls-player npm ERR! react-hls-player@"*" 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! npm ERR! See /Users/ibrahimabushammah/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/ibrahimabushammah/.npm/_logs/2021-11-12T17_24_37_235Z-debug.log

IbrahimShamma99 avatar Nov 12 '21 17:11 IbrahimShamma99

getting this too. F

Fyb3roptik avatar Dec 28 '21 21:12 Fyb3roptik

Same issue here. Any thoughts?

VWXmeisold avatar Jan 05 '22 17:01 VWXmeisold

this is more than likely because it's setup to only support this you can either change your node version or you can attempt to update the peerDepedencies to support the latest version

"peerDependencies": {
    "react": "^16.13.1",
    "react-dom": "^16.13.1"
  },

ondrovic avatar Jan 08 '22 03:01 ondrovic

try again after execute this code

npm config set legacy-peer-deps true

phasapt avatar Sep 28 '22 13:09 phasapt