Exp build:ios failing with a 500 code erro

#1

I get this error when running exp build:ios, used to work last night:

10:58:17 [exp] Using existing credentials for this build
10:58:17 [exp] Publishing to channel 'default'...
10:58:27 [exp] Building iOS bundle
10:58:27 [exp] 500 - "{\"type\":\"InternalError\",\"errors\":[],\"message\":\"Metro Bundler has encountered an internal error, please check your terminal error output for more details\"}"
10:58:27 [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 (/Users/pat/react-europe-2018-mobile/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback (/Users/pat/react-europe-2018-mobile/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (/Users/pat/react-europe-2018-mobile/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback (/Users/pat/react-europe-2018-mobile/node_modules/request/request.js:186:22)
    at Request.emit (events.js:180:13)
    at Request.<anonymous> (/Users/pat/react-europe-2018-mobile/node_modules/request/request.js:1163:10)
    at Request.emit (events.js:180:13)
    at IncomingMessage.<anonymous> (/Users/pat/react-europe-2018-mobile/node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:272:13)
    at IncomingMessage.emit (events.js:185:15)
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c /Users/pat/react-europe-2018-mobile/node_modules/.bin/exp build:ios
Directory: /Users/pat/react-europe-2018-mobile
Output:
".
info If you think this is a bug, please open a bug report with the information provided in "/Users/pat/react-europe-2018-mobile/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any idea?

#2

Nevermind it’s because exp start was running in another tab with an instance of Metro already.

closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.