Coding Global Background
Coding Global

Expo Production Build Failed - ReactJS (iOS)

Archived a year ago
1 messages
0 members
a year ago
Open in Discord
N
Nimai Garg
Copy Paster!

- Creating native directory (./ios) ✔ Created native directory - Updating package.json ✔ Updated package.json - Running prebuild » ios: icon: No icon is defined in the Expo config. - Running prebuild ✔ Finished prebuild Running "npm install" in /Users/expo/workingdir/build directory npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: gourmetai@0.1.0 npm ERR! Found: react@18.3.1 npm ERR! node_modules/react npm ERR! react@"^18.3.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"18.2.0" from react-native@0.74.5 npm ERR! node_modules/react-native npm ERR! react-native@"0.74.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! /Users/expo/.npm/_logs/2024-09-14T20_25_34_227Z-eresolve-report.txt npm ERR! A complete log of this run can be found in: /Users/expo/.npm/_logs/2024-09-14T20_25_34_227Z-debug-0.log This is the error code I'm getting when I run eas build --platform ios in my React app. Not sure what to do

Replies (1)