我正在尝试在expo react native项目中构建一个项目。
我的博览会版本是3.2.2,sdkVersion是35。
当我在cmd中运行时(在Windows 10上)
set EXPO_DEBUG=true
expo build:android -c
我有:
Request failed with status code 400
Error: Request failed with status code 400
at createError (C:\Users\Jonny\AppData\Roaming\npm\node_modules\expo-cli\node_modules\axios\lib\core\createError.js:16:15)
at settle (C:\Users\Jonny\AppData\Roaming\npm\node_modules\expo-cli\node_modules\axios\lib\core\settle.js:17:12)
at IncomingMessage.handleStreamEnd (C:\Users\Jonny\AppData\Roaming\npm\node_modules\expo-cli\node_modules\axios\lib\adapters\http.js:237:11)
at IncomingMessage.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
我尝试更新expo版本,sdkVersion,react中的版本,检查互联网连接。
世博会登录和注销工作正常。我的网络中没有任何代理。
对于什么搜索或如何解决此问题,我没有任何线索。
最佳答案
似乎是expo-cli
版本3.2.2
中的错误。
更新3.2.3
已为我修复。
关于react-native - 世博会无法建立,请求失败,状态码为400,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58232784/