question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warning of invalid react native sdk version

See original GitHub issue

What’s going on?

When launching a generated app, the following message shown: Warning: https://github.com/expo/react-native/archive/sdk-43.0.0.tar.gz is not a valid version. Version must be in the form of sdk-x.y.z. Please update your package.json file.


Steps to reproduce

  1. npx ignite-cli new Sample --expo --bundle=com.sample
  2. cd Sample
  3. yarn start
  4. open iOS Simulator using i

npx ignite-cli doctor results:

System
  platform           darwin                                             
  arch               arm64                                              
  cpu                8 cores      Apple M1                              
  directory          ignite       /Users/thai.ngo/Documents/mine/ignite 

JavaScript (and globally-installed packages)
  node               16.15.0      /usr/local/bin/node 
  npm                8.5.5        /usr/local/bin/npm  
    corepack         0.10.0                           
    expo-cli         5.4.7                            
    ignite-cli       7.10.10                          
    npm              8.5.5                            
    yarn             1.22.18                          
  yarn               1.22.18      /usr/local/bin/yarn 
  pnpm               -            not installed       

Ignite
  ignite-cli         7.10.10      /usr/local/bin/ignite                        
  ignite src         build        /usr/local/lib/node_modules/ignite-cli/build 

Android
  java               17.0.3.1     /usr/bin/java 
  android home       -            undefined     

iOS
  xcode              13.4       
  cocoapods          1.11.3       /usr/local/bin/pod 

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
jir-fcommented, Jun 21, 2022

Is this resolved? I’m still getting the warning on v7.12.0

1reaction
isaaclymancommented, Jul 10, 2022

I’m getting the warning as well. It’s preventing JavaScript remote debugging from working in the iOS simulator, the whole app crashes when I try to use it with remote debugging on.

This is on ignite-cli 7.14.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid version react-native@0.64.2 for expo sdkVersion 43.0 ...
I have tried to run npx react-native upgrade 0.64.3 but it didn't work, I got this error. info Fetching diff between v0.64.2 and...
Read more >
"React Native version mismatch" errors - Expo Documentation
Run expo-cli doctor will show a warning where the react-native version you should install. If you did upgrade to newer SDK, make sure...
Read more >
Invalid version react-native@0.64.2 for expo sdkVersion 43.0 ...
Coding example for the question Warning: Invalid version react-native@0.64.2 for expo sdkVersion 43.0.0. Use react-native@0.64.3-React Native.
Read more >
Invalid Hook Call Warning - React
There are three common reasons you might be seeing it: You might have mismatching versions of React and React DOM. You might be...
Read more >
How to Fix a React Native Version Mismatch Quickly - Waldo
Version Mismatch Error in React Native · Creating a blank React Native project using either React Native CLI or Expo CLI · Starting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found