작성
·
561
0
iMac FoodEliveryApp % npm install @react-navigation/native @react-navigation/native-stack
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: rn-async-storage-flipper@0.0.10
npm ERR! Found: react-native@0.68.2
npm ERR! node_modules/react-native
npm ERR! peer react-native@"^0.0.0-0 || 0.60 - 0.68 || 1000.0.0" from @react-native-async-storage/async-storage@1.17.6
npm ERR! node_modules/@react-native-async-storage/async-storage
npm ERR! peer @react-native-async-storage/async-storage@"^1.15.2" from rn-async-storage-flipper@0.0.10
npm ERR! node_modules/rn-async-storage-flipper
npm ERR! rn-async-storage-flipper@"^0.0.10" from the root project
npm ERR! @react-native-async-storage/async-storage@"^1.17.6" from the root project
npm ERR! peer react-native@"*" from @react-native-community/cli@7.0.3
npm ERR! node_modules/@react-native-community/cli
npm ERR! @react-native-community/cli@"^7.0.3" from react-native@0.68.2
npm ERR! 8 more (react-native-flipper, redux-flipper, the root project, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"^0.62.0" from rn-async-storage-flipper@0.0.10
npm ERR! node_modules/rn-async-storage-flipper
npm ERR! rn-async-storage-flipper@"^0.0.10" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react-native@0.62.3
npm ERR! node_modules/react-native
npm ERR! peer react-native@"^0.62.0" from rn-async-storage-flipper@0.0.10
npm ERR! node_modules/rn-async-storage-flipper
npm ERR! rn-async-storage-flipper@"^0.0.10" 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 /Users/iezlab/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/iezlab/.npm/_logs/2022-06-15T05_43_28_348Z-debug-0.log
라는 에러가 떠서
$ npm install @react-navigation/native @react-navigation/native-stack --force 로 설치를해서 에러가 없는데 혹시 --force는 안붙히는게 좋다 하셧는데 지금같은 에러는 붙여도 상관이없을가요?
아.. ios는 pod install 하고 재시작 해줘야 되는군요 계속 에러떠서 헤맷네여ㅜㅜㅜ