Error when using EAS Build. how to fix this
I am getting error when trying to build a developmental build with EAS Build, is it not supported?
Running "npm install" in /home/expo/workingdir/build directory npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @react-native-clipboard/[email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react-native npm ERR! react-native@"0.74.1" from the root project npm ERR! peer react-native@"" from [email protected] npm ERR! node_modules/@aws-amplify/core/node_modules/react-native-url-polyfill npm ERR! react-native-url-polyfill@"^1.3.0" from @aws-amplify/[email protected] npm ERR! node_modules/@aws-amplify/core npm ERR! @aws-amplify/core@"5.8.12" from @aws-amplify/[email protected] npm ERR! node_modules/@aws-amplify/analytics npm ERR! @aws-amplify/analytics@"6.5.12" from [email protected] npm ERR! node_modules/aws-amplify npm ERR! 12 more (@aws-amplify/api-graphql, @aws-amplify/api-rest, ...) npm ERR! 25 more (@coinbase/wallet-mobile-sdk, react-native-mmkv, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react-native@"^0.61.5 || ^0.62.3 || ^0.63.2 || ^0.64.2 || ^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.69.0 || ^0.70.0 || ^0.71.0 || ^0.72.0 || ^0.73.0" from @react-native-clipboard/[email protected] npm ERR! node_modules/@react-native-clipboard/clipboard npm ERR! @react-native-clipboard/clipboard@"^1.14.1" from the root project npm ERR! peerOptional @react-native-clipboard/clipboard@"" from [email protected] npm ERR! node_modules/thirdweb npm ERR! thirdweb@"^5.46.1" from the root project npm ERR! npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/react-native npm ERR! peer react-native@"^0.61.5 || ^0.62.3 || ^0.63.2 || ^0.64.2 || ^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.69.0 || ^0.70.0 || ^0.71.0 || ^0.72.0 || ^0.73.0" from @react-native-clipboard/[email protected] npm ERR! node_modules/@react-native-clipboard/clipboard npm ERR! @react-native-clipboard/clipboard@"^1.14.1" from the root project npm ERR! peerOptional @react-native-clipboard/clipboard@"*" from [email protected] npm ERR! node_modules/thirdweb npm ERR! thirdweb@"^5.46.1" 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! /home/expo/.npm/_logs/2024-08-30T13_19_22_610Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /home/expo/.npm/_logs/2024-08-30T13_19_22_610Z-debug-0.log
@react-native-clipboard/clipboard hasn't been updated for [email protected] or later, however it still works with later versions.
Use this to get around the error: npm install --force
EAS builds should work fine with latest version of the starter template