0
votes

The command exp push:android:show(and other push:android commands) are not working, but rather return an error message.

Here are all the relevant details:

Environment

Environment: OS: Windows 10
Node: 8.9.4
Yarn: 1.3.2
npm: 5.6.0
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found

Packages: (wanted => installed)
expo: ^28.0.0 => 28.0.0
react: 16.3.1 => 16.3.1
react-native: https://github.com/expo/react-native/archive/sdk-28.0.0.tar.gz => 0.55.4

Steps to Reproduce

  1. Run exp push:android:show or exp push:android:clear or exp push:android:upload --api-key <KEY>

Expected Behavior

Show, clear, or upload android keys depending on executed command.

Actual Behavior

Displays "An unknown error occurred."

Additional information

Upon debugging the expo CLI code, I found that the returned APIV2Error to indicate a server error: { ApiV2Error: An unknown error occurred. at C:\[email protected]\src\ApiV2.js:203:19 at Generator.throw (<anonymous>) at step (npm\node_modules\exp\node_modules\xdl\build\ApiV2.js:48:191) at \npm\node_modules\exp\node_modules\xdl\build\ApiV2.js:48:402 at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) code: 'INTERNAL_SERVER_ERROR', _isApiError: true, serverStack: undefined, details: undefined }

How can I solve this problem?

1

1 Answers

0
votes

Turns out the bug is caused by an internal server error from Expo's side, and after reporting it, it seems to be fixed now.