在响应本机时出错。不变违规:本机模块不能为空

时间:2020-10-29 23:46:43

标签: react-native expo

我正在对本机项目进行响应以开发EXPO应用程序,但是却收到错误消息,说本机模块不能为空。 以下是我用于此项目的依赖项。

"dependencies": {
    "@react-native-community/async-storage": "^1.12.1",
    "@react-native-community/masked-view": "0.1.10",
    "@react-navigation/bottom-tabs": "^5.9.2",
    "@react-navigation/drawer": "^5.9.3",
    "@react-navigation/material-bottom-tabs": "^5.2.19",
    "@react-navigation/native": "^5.8.1",
    "@react-navigation/stack": "^5.9.2",
    "axios": "^0.20.0",
    "expo": "~39.0.2",
    "expo-barcode-scanner": "~9.0.0",
    "expo-status-bar": "~1.0.2",
    "randomatic": "^3.1.1",
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "react-native": "https://github.com/expo/react-native/archive/sdk-39.0.2.tar.gz",
    "react-native-animatable": "^1.3.3",
    "react-native-camera": "^3.40.0",
    "react-native-device-info": "^6.2.0",
    "react-native-gesture-handler": "~1.7.0",
    "react-native-ionicons": "^4.6.5",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-paper": "^4.2.0",
    "react-native-qrcode-svg": "^6.0.6",
    "react-native-reanimated": "~1.13.0",
    "react-native-safe-area-context": "3.1.4",
    "react-native-screens": "~2.10.1",
    "react-native-svg": "^12.1.0",
    "react-native-vector-icons": "^7.1.0",
    "react-native-web": "^0.13.14",
    "react-qr-scanner": "^0.0.10"
  },

0 个答案:

没有答案