docs.webiny.com icon indicating copy to clipboard operation
docs.webiny.com copied to clipboard

Error during npm install

Open carstenjaksch opened this issue 4 years ago • 0 comments

Hi!

I followed your instructions to install the project locally, but got an error during npm i.

Node: v14

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"^17.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.x" from [email protected]
npm ERR! node_modules/react-image-lightbox
npm ERR!   react-image-lightbox@"^5.1.1" 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.

carstenjaksch avatar Nov 25 '21 07:11 carstenjaksch