saleor / saleor-storefront

A GraphQL-powered, NextJs-based, PWA storefront for Saleor. IMPORTANT: This project is [DEPRECATED] in favor of saleor/react-storefront soon to become our default demo and storefront starter pack.

Home Page:https://demo.saleor.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm ERR! Could not resolve dependency:

jiapei100 opened this issue · comments

What I'm trying to achieve

Trying to npm i

Steps to reproduce the problem

  1. Download and npm i

What I expected to happen

The following ERR messages gone.

⋊> /v/w/v/saleor-storefront on main ⨯ npm i                                                                                                                                                                                                                                  04:10:12
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: saleor-site@3.0.0-a.0
npm ERR! Found: react@16.14.0
npm ERR! node_modules/react
npm ERR!   react@"^16.9.9" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.4.2" from react-addons-css-transition-group@15.6.2
npm ERR! node_modules/react-addons-css-transition-group
npm ERR!   react-addons-css-transition-group@"^15.6.2" 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-06-05T11_10_15_464Z-debug-0.log

Screenshots

Refer to the above

System information
Operating system: Ubuntu 20.04
Browser: Chrome
Node: v16.15.0

Sorry, my bad... Deprecated...