Having issue with app.json after upgrading expo app in android?

I am having an error after creating new project on windows 10. I have just upgraded my expo app on my phone and now I am getting an error in terminal:

Error: Problem validating fields in app.json. See Configuration with app.json / app.config.js - Expo Documentation
• should NOT have additional property ‘nodeModulesPath’.

Cannot know what really happened. Help please!

Done. I have upgraded expo-cli and error is gone!

1 Like

I did that and I’m still getting this error. Anyone knows what to do to fix this problem ?

What does expo diagnostics give you?

My CI had an old version of expo cli and wasn’t updating … this was my root cause. Same error.

1 Like

@lanman2000 so is the problem resolved now?

Hi there,

Run this command : yarn global add expo-cli.

1 Like

For NPM, running below fixed for me:

npm install -g expo-cli

This post was flagged by the community and is temporarily hidden.

npm install -g expo-cli also solved the problem for me, for some weird reason yarn global add expo-cli did not work.