upgrading expo sdk when project initiated with CRNA


#1

So I just realized after trying to run my project from XDE, I realized that my expo version from my app.json and package.json are different somehow:

package.json
“dependencies”: {
@babel/core”: “^7.0.0-beta.48”,
“expo”: “^27.0.2”,
“firebase”: “^5.2.0”,
“lodash”: “^4.17.10”,
“minimist”: “0.0.8”,
“minipass”: “^2.2.4”,
“qs-stringify”: “^1.1.0”,
“react”: “^16.3.0-alpha.1”,
“react-art”: “^16.4.0”,
“react-dom”: “^16.4.0”,
“react-native”: “^0.55.2”,
“react-native-elements”: “^0.19.1”,
“react-native-modal”: “^6.0.0”,
“react-native-router-flux”: “^4.0.0-beta.31”,
“react-native-simple-expand”: “^0.1.3”,
“react-native-size-matters”: “^0.1.0”,
“react-native-snap-carousel”: “^3.7.0”,
“react-native-web”: “^0.7.2”,
“react-redux”: “^5.0.7”,
“redux”: “^4.0.0”,
“redux-thunk”: “^2.2.0”,
“yallist”: “^3.0.2”
}

app.json
{
“expo”: {
“sdkVersion”: “27.0.0”,
.
.
.
}
}

Not sure if this is a problem, but I started looking into upgrading these altogether and looking at this article made me realized that my package.json might actually look different than th one described in the how to upgrade section:

In package.json, change these dependencies:

nowhere in my package json I can find similar pattern to replace with this link here…

I may be not understanding something right here, and I’m also a complete noob, this is my first project with RN/CRNA/Expo, so any pointers would be greatly appreciated :smiley:


#2

Hi @raywinarto. Don’t think anything is wrong here! Just change “react-native”: “^0.55.2” to "react-native": "https://github.com/expo/react-native/archive/sdk-28.0.0.tar.gz" and then follow the rest of the instructions.


#3

@jesse that clear things up! thanks so much! :smiley:


closed #4

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