Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Warning: Invalid version [email protected] for expo sdkVersion 43.0.0. Use [email protected]

I am working on an expo project and everything is working fine, but I began to get a warning message when android is building as

Warning: Invalid version [email protected] for expo sdkVersion 43.0.0. Use [email protected]

The app is still running fine but I don't how to fix this error yet and I want to know if it won't cause an issue later.

like image 731
Oluwafemi Avatar asked Nov 10 '21 10:11

Oluwafemi


People also ask

How do I change my react native in Expo?

Upgrading your Expo project to a new version of React Native requires updating the react-native , react , and expo package versions in your package.json file. Expo provides an upgrade command to handle upgrading these and any other known dependencies for you.

What is SDK version in Expo?

What is SDK version in Expo? The Expo SDK is a series of native libraries for each iOS and Android platform, and it allows JavaScript to access the system features of the device such as the camera, push notifications, local storage, contacts, and other hardware and operating system APIs.25-Jun-2021.

How do I check my react native version?

Checking the version To check the react-native version in your system, run the react-native -v command inside the terminal. This above command work on both mac and windows based operating systems. Similarly, you can also check the react-native version by opening a package. json file in your project.


1 Answers

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 v0.64.3... error Fetch request failed with status 404: 404: Not Found. error Failed to fetch diff for [email protected]. Maybe it's not released yet?

changing the version of react-native manually in the package.json and run expo install worked for me

like image 196
Samir Diaz Avatar answered Nov 08 '22 06:11

Samir Diaz