I created a project a while back and tried running it recently and got an error from expo saying that my SDK version is not up to date. So I followed this answer (The experience you requested uses Expo SDK v(null), but this copy of Expo Client requires at least v23.0.0) to fix it. However now I'm running into a new error where my project cannot run and I get this error:
Could no connect to development server
What can I do to fix this? I don't want to try a hundred different solutions and accidentally lose my project forever and have to start over, so I figured I'd ask on here.
Here is my package.json
:
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"eject": "expo eject"
},
"dependencies": {
"axios": "^0.19.0",
"expo": "^33.0.0",
"firebase": "^6.5.0",
"formik": "^1.5.8",
"global": "^4.4.0",
"native-base": "^2.12.1",
"react": "16.5.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
"react-native-elements": "^0.18.5",
"react-native-keyboard-aware-scroll-view": "^0.9.1",
"react-native-modal": "^11.3.1",
"react-native-paper": "^2.16.0",
"react-native-smart-carousel": "^1.1.0",
"react-native-snap-carousel": "3.6.0",
"react-native-vector-icons": "^6.6.0",
"react-navigation": "^3.11.0",
"styled-components": "^4.2.0",
"truffle": "^5.0.34",
"uuid": "^3.3.3",
"web3": "0.19"
},
"devDependencies": {
"babel-preset-expo": "^5.0.0"
},
"private": true
}
I ran expo-cli --version
in my terminal and this is what I received:
3.0.4
Thank you
package.json
file also can you run on your terminalexpo-cli --version
what is the output?