I’m using latest exp 47.4.4, with RN 0.51 and expo SDK 24.0. The project works fine on iOS simulator, but when I try to publish it (with exp publish), here’s the output:
[exp] Starting React Native packager…
[exp] Scanning folders for symlinks in /Users/ABC/Documents/Programming/react-native-expo/node_modules (10ms)
[exp] Loading dependency graph.
[exp] Dependency graph loaded.
[exp] Tunnel connected.
[exp] Publishing…
[exp] Building iOS bundle
[exp] Failed building JavaScript bundle.
[exp] 500 - “{"type":"InternalError","errors":,"message":"Metro Bundler has encountered an internal error, please check your terminal error output for more details"}”
[exp] StatusCodeError: 500 - “{"type":"InternalError","errors":,"message":"Metro Bundler has encountered an internal error, please check your terminal error output for more details"}”
at new StatusCodeError (/usr/local/lib/node_modules/exp/node_modules/request-promise-core/lib/errors.js:32:15)
at Request.plumbing.callback (/usr/local/lib/node_modules/exp/node_modules/request-promise-core/lib/plumbing.js:104:33)
at Request.RP$callback [as _callback] (/usr/local/lib/node_modules/exp/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/usr/local/lib/node_modules/exp/node_modules/request/request.js:186:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:194:7)
at Request. (/usr/local/lib/node_modules/exp/node_modules/request/request.js:1163:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:191:7)
at IncomingMessage. (/usr/local/lib/node_modules/exp/node_modules/request/request.js:1085:12)
at Object.onceWrapper (events.js:293:19)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:188:7)
at endReadableNT (_stream_readable.js:975:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
Any advice how to resolve this error? Thanks.