Ao tentar instalar uma fonte do google a partir da CLI do expo eu recebo a seguinte mensagem:
V6I8F66 MINGW64 ~/Desktop/PersonalProjects/orgs-cesta (main)
$ expo install expo-font @expo-google-fonts/montserrat
┌─────────────────────────────────────────────────────────────────────────┐
│ │
│ There is a new version of expo-cli available (6.0.8). │
│ You are currently using expo-cli 6.0.5 │
│ Install expo-cli globally using the package manager of your choice; │
│ for example: npm install -g expo-cli
to get the latest version │
│ │
└─────────────────────────────────────────────────────────────────────────┘
Installing 1 SDK 44.0.0 compatible native module and 1 other package using npm.
npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: react-native@0.70.5 npm ERR! Found: react@18.2.0 npm ERR! node_modules/react npm ERR! react@"^18.2.0" from the root project npm ERR! peer react@"^18.2.0" from react-dom@18.2.0 npm ERR! node_modules/react-dom npm ERR! peer react-dom@">= 16.8.0" from styled-components@5.3.6 npm ERR! node_modules/styled-components npm ERR! styled-components@"^5.3.6" from the root project npm ERR! 1 more (babel-plugin-styled-components) npm ERR! 3 more (react-shallow-renderer, styled-components, use-sync-external-store) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"18.1.0" from react-native@0.70.5 npm ERR! node_modules/react-native npm ERR! react-native@"0.70.5" from the root project npm ERR! npm ERR! Conflicting peer dependency: react@18.1.0 npm ERR! node_modules/react npm ERR! peer react@"18.1.0" from react-native@0.70.5 npm ERR! node_modules/react-native npm ERR! react-native@"0.70.5" 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! npm ERR! For a full report see: npm ERR! C:\Users\1STI\AppData\Local\npm-cache_logs\2022-12-20T12_06_59_330Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\1STI\AppData\Local\npm-cache_logs\2022-12-20T12_06_59_330Z-debug-0.log
npm exited with non-zero code: 1 Error: npm exited with non-zero code: 1