Mismatched expo version

Please provide the following:

  1. SDK Version: 34.0.0
  2. Platforms(Android/iOS/web/all):Android

In package.json file my expo version is 34.0.1 and when I see npm show expo version in my project folder it shows 35.0.0 , why this ?
Also I think due to which my app crashes on any error and also developer menu is not shows due to which I am unable to use live reloading.
I want to go back to earlier version so that it behaves the same and shows the error screen when some error occurs.

Hey @prajwalbhatia,

You’ll want to make sure your app.json and package.json have corresponding major version values. Your package.json expo version can have different minor values but the major should be identical to your app.json.

So for example, if your app.json has sdkVersion as “34.0.0” then your package.json should have something like 34.x.x.

Cheers,
Adam

They both are same @adamjnav

Hmmm. Are you able to share your project?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.