Open sushmakale2016 opened 1 year ago
Is anybody here? This.
Perfectly works for me with React18
Same here, works for me as well using:
"react": "^18.2.0",
Does anyone else have a problem installing anything later than react-device-detect@1.17.0 ?
npm install react-device-detect@2.2.3
returns error
npm WARN ERESOLVE overriding peer dependency npm ERR! code ETARGET npm ERR! notarget No matching version found for react-device-detect@2.2.3. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.
Where
npm install react-device-detect@latest
installs version 1.17.0
Any clues what is happening?
Thanks much
Edit:
Using npm version 9.8.1, node version 18.18.0
Does anyone else have a problem installing anything later than react-device-detect@1.17.0 ?
npm install react-device-detect@2.2.3
returns error
npm WARN ERESOLVE overriding peer dependency npm ERR! code ETARGET npm ERR! notarget No matching version found for react-device-detect@2.2.3. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.
Where
npm install react-device-detect@latest
installs version 1.17.0
Any clues what is happening?
Thanks much
Edit:
Using npm version 9.8.1, node version 18.18.0
SOLVED. Apparently my .npmrc
config to our local registry messed things up.
The current library does not support react18, it would be nice to support react 18 as many other dependent applications are moving for upgrading from react 17 to react18