我已经构建了一个React本机应用程序,并且可以通过expo运行它,并且正在使用expo build:ios和expo upload:ios。在上传时,它使用未定义的方法“ start_with?”崩溃 对于exps的utils.js中的nil:NilClass。
Error: undefined method `start_with?' for nil:NilClass
at _callee2$ (/expo-cli@2.9.0/src/commands/upload/utils.js:53:11)
at tryCatch (/usr/local/lib/node_modules/expo-cli/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (/usr/local/lib/node_modules/expo-cli/node_modules/regenerator-runtime/runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/expo-cli/node_modules/regenerator-runtime/runtime.js:114:21)
at step (/usr/local/lib/node_modules/expo-cli/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /usr/local/lib/node_modules/expo-cli/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
Run Code Online (Sandbox Code Playgroud)
博览会诊断:
Expo CLI 2.9.0 environment info:
System:
OS: macOS 10.14.3
Shell: 3.2.57 - /bin/sh
Binaries:
Node: 10.15.1 - /usr/local/bin/node
npm: 6.4.1 - /usr/local/bin/npm
IDEs:
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
expo: ^32.0.0 => 32.0.4
react: 16.5.0 => 16.5.0
react-native: https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz => 0.57.1
react-navigation: ^3.0.9 => 3.1.4
npmGlobalPackages: …Run Code Online (Sandbox Code Playgroud)