#It looks like expo is ignoring my package.json file, and is trying to fetch an App.js file

5 messages · Page 1 of 1 (latest)

native ridge
#

So I did everything like in the video, but for some reason i get this error : Unable to resolve "../../App" from "node_modules\expo\AppEntry.js" even if my package.json file looks like this : ```{
"name": "friendlycaddie",
"version": "1.0.0",
"main": "expo-router/entry",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web"
},
"dependencies": {
"expo": "~51.0.14",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.74.2",
"expo-router": "~3.5.16",
"react-native-safe-area-context": "4.10.1",
"react-native-screens": "3.31.1",
"expo-linking": "~6.3.1",
"expo-constants": "~16.0.2"
},
"devDependencies": {
"@babel/core": "^7.20.0"
},
"private": true
}

And (not so) funny thing it worked with my other computer. So something's not right but i can't tell what and i'm about to pull my last strand of hair. HELP
#

And to clarify i am on the same network

#

Even if it worked on different networks with my laptop

eager tapir
native ridge
#

I fixed it. It had to do with Vscode not autosaving files while still caching their content when closing. So I had to open the file with notepad to see it wasn't saved. Ty still.