C
C
Captain Cocoa2021-11-25 11:25:45
npm
Captain Cocoa, 2021-11-25 11:25:45

Plugin not installed, how to solve the problem?

I have node 14.17.6 I
create a react project and after I try to install the plugin npm i react-sticky-box
But it gives the following

Happy hacking!
PS D:\User\React\cv> npm i react-sticky-box
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! [email protected]"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer [email protected]"^0.14.0 || ^15.0.0 || ^16.0.0" from [email protected]
npm ERR! node_modules/react-sticky-box
npm ERR! [email protected]"*" 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 C:\Users\radva\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\radva\AppData\Local\npm-cache\_logs\2021-11-25T08_18_01_151Z-debug.log


who fumbles, tell me pliz how to solve?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question