EAS build android keeps failing.

Hi @gopalkrishna

I doubt this will do anything unless you provide it some parameters.

You shouldn’t need to install this directly.

You can probably remove this.

This should be a devDependency if you have it installed, but you can probably remove it.

You should not have this installed.

This is deprecated. You should switch to @react-native-masked-view/masked-view

Oh, I see you have that installed too. You should remove the “community” version.

This was deprecated in Expo SDK 46 and removed in Expo SDK 47. See AppLoading - Expo Documentation

Based on your app.json you don’t seem to be using this.

You should not have this installed as a dependency. Only globally.

You should no longer have these installed. See the Expo SDK 47 release notes.

These days you should use e.g. useCameraPermissions(options) instead of the Permissions module.

This is a pretty trivial dependency. See here: Trying to build expo react native app with eas gives error at pod install step - #6 by wodin

This looks like something you might have installed by mistake. modules - npm

See my comment about @expo/ngrok above.

These should not be installed as dependencies of your app.

I doubt you should have this installed.

This looks like it might be similar to fiction-expo-restart? You can use Updates.reloadAsync() instead.

Do you need this?

And this? I doubt you should have it installed.

I also wouldn’t expect you to have watchman as a dependency. At best it should be a devDependency.

You have two different versions of @expo/ngrok installed. One in dependencies and the other in devDependencies. I doubt you need either installed. Also get rid of metro. You don’t need to install it manually.

About the npx expo-doctor issues: They may well be resolved by sorting out the above issues. If not, run:

npm why "expo-modules-autolinking@0.5.5"
npm why "expo-modules-autolinking@0.8.1"
npm why "@expo/config-plugins@4.0.18"

etc.

That will tell you what’s causing those incorrect versions to be installed.

1 Like