Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using EAS Build. how to fix this #15

Open
sparkle666 opened this issue Aug 30, 2024 · 1 comment
Open

Error when using EAS Build. how to fix this #15

sparkle666 opened this issue Aug 30, 2024 · 1 comment

Comments

@sparkle666
Copy link

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

@avantmarketing1
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants