You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting Error While initialization react native app in ubuntu #2378
hey, you shouldn't use 0.70.0 as a version becuase it's outdated and is not longer supported. Please run init command with --verbose option and reply with your error.
Activity
szymonrybczak commentedon May 6, 2024
@Harsh3341 what's the output of
yarn --version?Harsh3341 commentedon May 7, 2024
1.22.19
Harsh3341 commentedon May 7, 2024
Now yarn issue is sorted but still I'm receiving

km-saifullah commentedon May 7, 2024
Have you solved your problem @Harsh3341
I am also facing the same problem Ubuntu 22.04
Harsh3341 commentedon May 7, 2024
not yet
km-saifullah commentedon May 7, 2024
@Harsh3341 If you solve this just mention here how you solve that okay Brother!
Harsh3341 commentedon May 10, 2024
@szymonrybczak is there any solution?
km-saifullah commentedon May 10, 2024
@Harsh3341 I have solved my problem by downgrading the version of React-native. Try to use the command below
npx react-native@0.70 init AwesomeProject --version 0.70
Harsh3341 commentedon May 11, 2024
Thnx @km-saifullah it works, but it need to know why the latest version is causing such issue
km-saifullah commentedon May 11, 2024
@Harsh3341 Welcome. Yes, I also search about this issue. But still did not get anything valuable from the internet.
szymonrybczak commentedon May 12, 2024
hey, you shouldn't use
0.70.0as a version becuase it's outdated and is not longer supported. Please runinitcommand with--verboseoption and reply with your error.Harsh3341 commentedon May 13, 2024
@szymonrybczak using
npx react-native@latest init --verboseis working fine, just getting the following error nowrest everything is working correctly, I have also run the code and the template app is working fine.
but running the command
npx react-native@latest initwithout--verboseis causing the error attached in the starting image, why is It so?szymonrybczak commentedon Jun 24, 2024
hey @Harsh3341!
If issue is still presented could you please try logging error under this statement?
cli/packages/cli/src/tools/yarn.ts
Line 36 in 4d65f1d
Error thrown during project creation were catched by one
catchstatement related to Cocoapods installation failure 😅 It'll fixed once #2394 lands.