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 running: npx thirdweb create app --expo #8

Open
sparkle666 opened this issue Jun 30, 2024 · 2 comments
Open

Error running: npx thirdweb create app --expo #8

sparkle666 opened this issue Jun 30, 2024 · 2 comments

Comments

@sparkle666
Copy link

sparkle666 commented Jun 30, 2024

@joaquim-verges

Need to install the following packages:
[email protected]
Ok to proceed? (y) y
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/thirdweb
npm ERR! thirdweb@"5.31.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! thirdweb@"5.31.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR! peer react@"18.2.0" from [email protected]
npm ERR! node_modules/react-native
npm ERR! peerOptional react-native@">=0.70" from [email protected]
npm ERR! node_modules/thirdweb
npm ERR! thirdweb@"5.31.0" from the root project
npm ERR! peer react-native@"*" from @coinbase/[email protected]
npm ERR! node_modules/@coinbase/wallet-mobile-sdk
npm ERR! peerOptional @coinbase/wallet-mobile-sdk@"^1" from [email protected]
npm ERR! node_modules/thirdweb
npm ERR! thirdweb@"5.31.0" from the root project
npm ERR! 2 more (@react-native-async-storage/async-storage, react-native-aes-gcm-crypto)
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/chinemerem/.npm/_logs/2024-06-30T15_02_07_301Z-eresolve-report.txt

@joaquim-verges
Copy link
Contributor

can you try this?

npm config -g set legacy-peer-deps true

then run npx thirdweb create again

@sparkle666
Copy link
Author

Yeah it works but expo returned:
IMG_20240701_072930

So removed the --expo and it worked and had to choose which dev tool I wanted which is react native.

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