Warning: Expo version in package.json does not match sdkVersion in manifest

Hello,

I keep getting the warning:

Warning: Expo version in package.json does not match sdkVersion in manifest.
Warning: 'react' peer dependency missing. Run `npm ls` in C:\users\matt\sites\rg-calendar to see full warning.

If there is an issue running your project, please run `npm install` in C:\users\matt\sites\rg-calendar and restart.

In my package.json I have:

  "dependencies": {
    "expo": "^21.0.0",
    "react": "16.0.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-21.0.2.tar.gz",
    "react-native-calendars": "^1.16.1",
    "react-native-fontawesome": "^5.7.0",

and in my app.json:

{
  "expo": {
   "name": "RGUC",
   "icon": "./img/calendarIcon.png",
   "version": "1.0.0",
   "slug": "rguc-calendar",
   "sdkVersion": "21.0.0",
   "ios": {
     "bundleIdentifier": "com.rguc.calendar"
   },
   "android": {
     "package": "com.rguc.calendar"
   }
  }
}

I am using th same version, how can I get rid of the warning?

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