I have created an app just with expo init. But when I open the project in visual studio code, the app.json gives me an error: The property ‘expo’ cannot be used in this context. So this is the standard template I haven’t changed anything yet. I have tried:
npm install -g node
npm install -g expo-cli
delete the node modules and then created them again with npm install
Checked the validity of my json
Still it doesn’t seam to solve my issues. Am I forgetting something?
Please help.
Hi Keith thank you for your suggestion, but still it doesn’t work. So I created the app using npx create-expo-app myappname. Please check the attachment. Am I missing something?
Apologies for the late reply. I’m wondering if this is coming from some other Visual Studio Code plugin. You can try running npx expo-doctor, and if it reports no issues with your app.json, then it should be fine from Expo’s perspective.