인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

인프런 커뮤니티 질문&답변

juno0218님의 프로필 이미지
juno0218

작성한 질문수

따라하며 배우는 노드, 리액트 시리즈 - 쇼핑몰 사이트 만들기[전체 리뉴얼]

paypal 인스톨 에러가납니다

작성

·

329

0

npm install --save react-paypal-express-checkout

하니까 에러가 나네요 ;;

PS C:\Users\juno8\Desktop\boilerplate-mern-stack-master> cd client

PS C:\Users\juno8\Desktop\boilerplate-mern-stack-master\client> npm install react-paypal-express-checkout --save

npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR!

npm ERR! While resolving: client@0.1.0

npm ERR! Found: react@16.14.0

npm ERR! node_modules/react

npm ERR!   react@"^16.8.6" from the root project

npm ERR!

npm ERR! Could not resolve dependency:

npm ERR! peer react@"~0.14.8 || ^15.5.0" from react-paypal-express-checkout@1.0.5

npm ERR! node_modules/react-paypal-express-checkout

npm ERR!   react-paypal-express-checkout@"*" from the root project

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\juno8\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\juno8\AppData\Local\npm-cache\_logs\2021-02-25T21_34_15_370Z-debug.log

PS C:\Users\juno8\Desktop\boilerplate-mern-stack-master\client> npm install react-paypal-express-checkout --save

npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR!

npm ERR! While resolving: client@0.1.0

npm ERR! Found: react@16.14.0

npm ERR! node_modules/react

npm ERR!   react@"^16.8.6" from the root project

npm ERR!

npm ERR! Could not resolve dependency:

npm ERR! peer react@"~0.14.8 || ^15.5.0" from react-paypal-express-checkout@1.0.5

npm ERR! node_modules/react-paypal-express-checkout

npm ERR!   react-paypal-express-checkout@"*" from the root project

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\juno8\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\juno8\AppData\Local\npm-cache\_logs\2021-02-25T21_35_09_278Z-debug.log

PS C:\Users\juno8\Desktop\boilerplate-mern-stack-master\client> npm i  react-paypal-express-checkout

npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR!

npm ERR! While resolving: client@0.1.0

npm ERR! Found: react@16.14.0

npm ERR! node_modules/react

npm ERR!   react@"^16.8.6" from the root project

npm ERR!

npm ERR! Could not resolve dependency:

npm ERR! peer react@"~0.14.8 || ^15.5.0" from react-paypal-express-checkout@1.0.5

npm ERR! node_modules/react-paypal-express-checkout

npm ERR!   react-paypal-express-checkout@"*" from the root project

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\juno8\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\juno8\AppData\Local\npm-cache\_logs\2021-02-25T21_36_03_452Z-debug.log

PS C:\Users\juno8\Desktop\boilerplate-mern-stack-master\client> npm i  react-paypal-express-checkout --save

npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR!

npm ERR! While resolving: client@0.1.0

npm ERR! Found: react@16.14.0

npm ERR! node_modules/react

npm ERR!   react@"^16.8.6" from the root project

npm ERR!

npm ERR! Could not resolve dependency:

npm ERR! peer react@"~0.14.8 || ^15.5.0" from react-paypal-express-checkout@1.0.5

npm ERR! node_modules/react-paypal-express-checkout

npm ERR!   react-paypal-express-checkout@"*" from the root project

npm ERR!

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\juno8\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\juno8\AppData\Local\npm-cache\_logs\2021-02-25T21_36_50_537Z-debug.log

PS C:\Users\juno8\Desktop\boilerplate-mern-stack-master\client> npm install --save react-paypal-express-checkout

>>

npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR!

npm ERR! While resolving: client@0.1.0

npm ERR! Found: react@16.14.0

npm ERR! node_modules/react

npm ERR!   react@"^16.8.6" from the root project

npm ERR!

npm ERR! Could not resolve dependency:

npm ERR! peer react@"~0.14.8 || ^15.5.0" from react-paypal-express-checkout@1.0.5

npm ERR! node_modules/react-paypal-express-checkout

npm ERR!   react-paypal-express-checkout@"*" from the root project

PS C:\Users\juno8\Desktop\boilerplate-mern-stack-master\client> npm i npm install --save react-paypal-express-checkout

>> 

npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR!

npm ERR! While resolving: client@0.1.0

npm ERR! Found: react@16.14.0

npm ERR! node_modules/react

npm ERR!   react@"^16.8.6" from the root project

npm ERR!

npm ERR! Could not resolve dependency:

npm ERR! peer react@"~0.14.8 || ^15.5.0" from react-paypal-express-checkout@1.0.5

npm ERR! node_modules/react-paypal-express-checkout

npm ERR!   react-paypal-express-checkout@"*" 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\juno8\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\juno8\AppData\Local\npm-cache\_logs\2021-02-25T21_39_00_479Z-debug.log

PS C:\Users\juno8\Desktop\boilerplate-mern-stack-master\client> 

답변 2

3

juno0218님의 프로필 이미지
juno0218
질문자

npm install --save react-paypal-express-checkout --force
라고 하면 됩니다

1

John Ahn님의 프로필 이미지
John Ahn
지식공유자

좋은 정보 감사합니다 ~! 

juno0218님의 프로필 이미지
juno0218

작성한 질문수

질문하기