Javascript React Native和Graphql实时聊天应用程序在iOS Expo Go上不工作

Javascript React Native和Graphql实时聊天应用程序在iOS Expo Go上不工作,javascript,node.js,react-native,graphql,expo,Javascript,Node.js,React Native,Graphql,Expo,我正在使用开发我的实时expo react native+graphql聊天应用程序 在web浏览器上一切正常,但代码无法为iOS编译。我在iphone上的Expo Go上遇到了这样一个错误: Unable to resolve module ./rules/ExecutableDefinitionsRule.js from C:\Users\Dell\webdev\chat-app\node_modules\graphql\validation\index.js: None of thes

我正在使用开发我的实时expo react native+graphql聊天应用程序

在web浏览器上一切正常,但代码无法为iOS编译。我在iphone上的Expo Go上遇到了这样一个错误:

Unable to resolve module ./rules/ExecutableDefinitionsRule.js from C:\Users\Dell\webdev\chat-app\node_modules\graphql\validation\index.js: 

None of these files exist:
  * node_modules\graphql\validation\rules\ExecutableDefinitionsRule.js(.native|.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.jsx|.native.expo.jsx|.expo.jsx|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)
  * node_modules\graphql\validation\rules\ExecutableDefinitionsRule.js\index(.native|.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.jsx|.native.expo.jsx|.expo.jsx|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)
> 1 | "use strict";
  2 |
  3 | Object.defineProperty(exports, "__esModule", {
  4 |   value: true

ABI40_0_0facebook::ABI40_0_0React::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
ABI40_0_0facebook::ABI40_0_0React::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
AF27E74C-BE4A-3364-BB27-AED9916CE02D
AF27E74C-BE4A-3364-BB27-AED9916CE02D
AF27E74C-BE4A-3364-BB27-AED9916CE02D
F3021642-E3C0-33F8-9911-DD303A6056D0
F3021642-E3C0-33F8-9911-DD303A6056D0
CFRunLoopRunSpecific
GSEventRunModal
CC6E5AC7-8248-35F6-8B42-2E25C93DCF0A
UIApplicationMain
Exponent
0B475C78-3C12-3121-B7F8-2B95B83DAF44
package.json

{
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "dependencies": {
    "@absinthe/socket": "^0.2.1",
    "@absinthe/socket-apollo-link": "^0.2.1",
    "@apollo/client": "^3.3.12",
    "@jumpn/utils-graphql": "^0.6.0",
    "@react-native-community/masked-view": "0.1.10",
    "@react-navigation/native": "^5.9.3",
    "@react-navigation/stack": "^5.14.3",
    "expo": "~40.0.0",
    "expo-status-bar": "~1.0.3",
    "formik": "^2.2.6",
    "graphql": "^14.7.0",
    "phoenix": "^1.5.8",
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz",
    "react-native-gesture-handler": "^1.8.0",
    "react-native-gifted-chat": "^0.16.3",
    "react-native-reanimated": "~1.13.0",
    "react-native-safe-area-context": "3.1.9",
    "react-native-screens": "~2.15.2",
    "react-native-web": "~0.13.12"
  },
  "devDependencies": {
    "@babel/core": "~7.9.0",
    "@types/absinthe__socket-apollo-link": "^0.2.1",
    "@types/react": "~16.9.35",
    "@types/react-dom": "~16.9.8",
    "@types/react-native": "~0.63.2",
    "typescript": "~4.0.0"
  },
  "private": true
}

这是指向我正在处理的分支的链接:

{
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "dependencies": {
    "@absinthe/socket": "^0.2.1",
    "@absinthe/socket-apollo-link": "^0.2.1",
    "@apollo/client": "^3.3.12",
    "@jumpn/utils-graphql": "^0.6.0",
    "@react-native-community/masked-view": "0.1.10",
    "@react-navigation/native": "^5.9.3",
    "@react-navigation/stack": "^5.14.3",
    "expo": "~40.0.0",
    "expo-status-bar": "~1.0.3",
    "formik": "^2.2.6",
    "graphql": "^14.7.0",
    "phoenix": "^1.5.8",
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz",
    "react-native-gesture-handler": "^1.8.0",
    "react-native-gifted-chat": "^0.16.3",
    "react-native-reanimated": "~1.13.0",
    "react-native-safe-area-context": "3.1.9",
    "react-native-screens": "~2.15.2",
    "react-native-web": "~0.13.12"
  },
  "devDependencies": {
    "@babel/core": "~7.9.0",
    "@types/absinthe__socket-apollo-link": "^0.2.1",
    "@types/react": "~16.9.35",
    "@types/react-dom": "~16.9.8",
    "@types/react-native": "~0.63.2",
    "typescript": "~4.0.0"
  },
  "private": true
}