ECONNREFUSED on expo build:ios

Expo CLI 3.21.5 environment info:
System:
OS: macOS 10.15.5
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
Yarn: 1.21.1 - /usr/local/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.16.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
npmPackages:
expo: ^37.0.0 => 37.0.12
react: 16.9.0 => 16.9.0
react-dom: 16.9.0 => 16.9.0
react-native: https://github.com/expo/react-native/archive/sdk-37.0.0.tar.gz => 0.61.4
react-native-web: ^0.11.7 => 0.11.7
react-navigation: ^3.12.1 => 3.12.1
npmGlobalPackages:
expo-cli: 3.21.5

Running into ECONNREFUSED (i’ve never used Expo build before). Can anyone help?

I had this a few times yesterday and found that running ‘Expo Start’ first to launch the metro builder and then exiting from that (using CTRL + C) and then running expo build:ios then worked.

Hope that helps

1 Like

Hey @drummerjolev, another thing that may help is running rm -rf .expo and then trying again.

Cheers,
Adam

Just to be pedantic :man_teacher: , rm -r .expo should work just as well in this case. The -f should not be needed.

1 Like

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