You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to install react-scroll-horizontall plugin but it failed because of react core dependencies. Please, read error below.
Is there an easy way to update dependencies?
Failed to compile.
Module not found: Error: Can't resolve 'react-scroll-horizontal' in '/src/components'
ERROR in ./src/components/Currencies.js 5:0-55
Module not found: Error: Can't resolve 'react-scroll-horizontal' in '/src/components'
webpack compiled with 1 error
^X^C
$ npm install --save react-scroll-horizontal
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@"^15.0.0 || ^16.0.0" from [email protected]
npm ERR! node_modules/react-scroll-horizontal
npm ERR! react-scroll-horizontal@"*" 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 /.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /.npm/_logs/2022-10-22T20_29_03_166Z-debug-0.log
The text was updated successfully, but these errors were encountered:
Hello there,
I tried to install react-scroll-horizontall plugin but it failed because of react core dependencies. Please, read error below.
Is there an easy way to update dependencies?
Failed to compile.
Module not found: Error: Can't resolve 'react-scroll-horizontal' in '/src/components'
ERROR in ./src/components/Currencies.js 5:0-55
Module not found: Error: Can't resolve 'react-scroll-horizontal' in '/src/components'
webpack compiled with 1 error
^X^C
$ npm install --save react-scroll-horizontal
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@"^15.0.0 || ^16.0.0" from [email protected]
npm ERR! node_modules/react-scroll-horizontal
npm ERR! react-scroll-horizontal@"*" 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 /.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /.npm/_logs/2022-10-22T20_29_03_166Z-debug-0.log
The text was updated successfully, but these errors were encountered: