简体   繁体   中英

problem with expo react native navigation

i am using react-native with expo to run my app on my android devices when i load my app on my terminal i have this error

Some dependencies are incompatible with the installed expo package version:

  • @react-native-community/masked-view - expected version: 0.1.10 - actual version installed: 0.1.11 Your project may not work correctly until you install the correct versions of the packages. To install the correct versions of these packages, please run: expo install [package-name ...] Missing package "metro-config" in the project at: C:\\Users\\kabore\\Desktop\\react_native\\app1 This usually means react-native is not installed. Please verify that dependencies in package.json include "react-native" and run yarn or npm install . Error: Missing package "metro-config" in the project at: C:\\Users\\kabore\\Desktop\\react_nativ

只需删除 node_modules 文件夹并在命令行中运行 yarn install 或 npm install 以再次安装依赖项。似乎您的某些依赖项未正确安装

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM