【问题标题】:expo build (IOS & android) and Expo publish errorexpo build (IOS & android) 和 Expo 发布错误
【发布时间】:2019-07-25 18:56:01
【问题描述】:

上个月我一直在尝试构建一个我正在工作的应用程序,但是当我使用命令时它不想工作:

世博会构建:android 世博会构建:ios 世博会发布 但我的应用程序在开发模式下正常运行,在真正的 android 和 IOS 设备上运行

三星 Galaxy S8 iphone 9s

没有错误或任何东西。

expo build:android
Checking if there is a build in progress...

Request failed with status code 500
Error: Request failed with status code 500
    at createError (C:\Users\FiercePC\AppData\Roaming\npm\node_modules\expo-cli\node_modules\axios\lib\core\createError.js:16:15)
    at settle (C:\Users\FiercePC\AppData\Roaming\npm\node_modules\expo-cli\node_modules\axios\lib\core\settle.js:17:12)
    at IncomingMessage.handleStreamEnd (C:\Users\FiercePC\AppData\Roaming\npm\node_modules\expo-cli\node_modules\axios\lib\adapters\http.js:237:11)
    at IncomingMessage.emit (events.js:187:15)
    at IncomingMessage.EventEmitter.emit (domain.js:442:20)
    at endReadableNT (_stream_readable.js:1094:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

【问题讨论】:

  • 如果出现500错误,由于服务器使用量大而导致服务暂停,或者是服务器异常引起的。这可能是服务器脚本中的错误。过一会再试似乎不错。
  • 今天也遇到同样的错误。非常令人沮丧。
  • 我已经解决了这个问题,我相信这个错误与 app.json 文件有关,我在删除字段所有者后工作,因为文档建议添加它以发布项目,但它没有让我添加一个
  • @Youssef你是美女!这也对我有用。非常感谢您的跟进。
  • @isick 别担心兄弟,祝你好运

标签: android react-native expo


【解决方案1】:

从您的 app.json 文件中删除 "owner" 字段。

Full credit goes to OP,我只是认为这应该作为答案发布,因为在 cmets 部分很容易错过。

【讨论】:

    【解决方案2】:

    就我而言,我刚刚更改了我的 bundlerIdentifier
    从此
    "bundlerIdentifier": "com.example.app.appName"
    对此
    "bundlerIdentifier": "com.example-app.appName"
    它对我有用。

    【讨论】:

      猜你喜欢
      • 2023-01-09
      • 1970-01-01
      • 2018-12-15
      • 2022-08-16
      • 2023-02-07
      • 2021-04-16
      • 2023-01-12
      • 1970-01-01
      • 2022-01-27
      相关资源
      最近更新 更多