简体   繁体   English

expo build (IOS & android) 和 Expo 发布错误

[英]expo build (IOS & android) and Expo publish error

I've been trying to build an app I was working for for the last month, but it doesn't want to work when I use the commands:我一直在尝试构建一个我上个月工作的应用程序,但是当我使用以下命令时它不想工作:

expo build:android expo build:ios expo publish But my app runs normally on development mode, on both real android and IOS devices expo build:android expo build:ios expo publish 但我的应用程序在开发模式下正常运行,在真正的 android 和 IOS 设备上

Samsung galaxy s8 Iphone 9s三星 Galaxy s8 Iphone 9s

with no errors or anything.没有错误或任何东西。

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)

Remove "owner" field from your app.json file.从您的app.json文件中删除"owner"字段。

Full credit goes to OP , I just think this should be posted as an answer, as it's easy to miss in comments section. 完全归功于 OP ,我只是认为这应该作为答案发布,因为在评论部分很容易错过。

In my case I've just changed my bundlerIdentifier就我而言,我刚刚更改了 bundlerIdentifier
From this由此
"bundlerIdentifier": "com.example.app.appName" “bundlerIdentifier”:“com.example.app.appName”
To this对此
"bundlerIdentifier": "com.example-app.appName" “bundlerIdentifier”:“com.example-app.appName”
and it worked for me.它对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM