React Native:没有随机出现的捆绑包URL

时间:2018-10-01 02:13:37

标签: javascript reactjs react-native

我无处不在遇到这个随机的No bundle URL present错误,这使我无法进行应用程序的所有开发。每当我在终端机中运行react-native run-ios时,Metro Bundler都不会启动,并且在终端机中还会出现一堆compileC错误,我将在下面列出。

我的package.json

{
  "name": "hyperbanks-master",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "babel-preset-react-native-stage-0": "^1.0.1",
    "jest": "^23.6.0",
    "jest-react-native": "^18.0.0",
    "react-test-renderer": "16.3.1"
  },
  "scripts": {
    "start": "react-native start",
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "test": "jest"
  },
  "jest": {
    "preset": "react-native"
  },
  "dependencies": {
    "@mapbox/react-native-mapbox-gl": "^6.1.3",
    "react": "16.3.1",
    "react-native": "~0.55.2",
    "react-native-navigation": "^1.1.486",
    "react-native-typography": "^1.3.0",
    "react-native-vector-icons": "^5.0.0",
    "react-navigation": "^2.17.0",
    "react-navigation-fluid-transitions": "^0.2.6",
    "uuid": "^3.3.2"
  }
}

CompileC Errors

** BUILD FAILED **



The following build commands failed:
        CompileC /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/strtod.o /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/strtod.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
        CompileC /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/fixed-dtoa.o /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/fixed-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
        CompileC /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/bignum.o /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/bignum.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
        CompileC /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/cached-powers.o /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/cached-powers.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
        CompileC /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/fast-dtoa.o /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/fast-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
        CompileC /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/diy-fp.o /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/diy-fp.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
        CompileC /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/double-conversion.o /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/double-conversion.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
        CompileC /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/bignum-dtoa.o /Users/bensoleimany/Development/ReactNative/hyperbanks-ios-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/bignum-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(8 failures)

如果您需要更多信息,请告诉我。

0 个答案:

没有答案