Отреагировать на навигационную ошибку «Не удалось определить зависимости задачи»: приложение:collectReleaseDependencies»

#javascript #android #reactjs #react-native #react-navigation

Вопрос:

У меня возникли проблемы с пакетами навигации react-native, поэтому они установлены таким npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view образом, Но по какой-то причине при запуске npm run android я получаю эту ошибку для каждого пакета

  What went wrong:
Could not determine the dependencies of task ':app:collectReleaseDependencies'.
> Could not resolve all task dependencies for configuration ':app:rele
aseRuntimeClasspath'.
> Could not resolve project :@react-native-community_masked-view.
Required by:
project :app
> No matching configuration of project :@react-native-commu
nity_masked-view was found. The consumer was configured to find a runti
me of a component, as well as attribute 'com.android.build.api.attributes.BuildT
ypeAttr' with value 'release' but:
 - None of the consumable configurations have attributes..```

Please help me