Please help with build/publish error

I can’t build or publish my project, no matter what I try. I get this:

Building iOS bundle
connect ECONNREFUSED 127.0.0.1:19001
Error: connect ECONNREFUSED 127.0.0.1:19001
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:
1104:14)

However, expo start works fine.

I searched google for this error, but the solutions offered didn’t help me. I wonder what’s the cause?

$ expo diagnostics
Expo CLI 3.2.3 environment info:
System:
OS: Windows 10
Binaries:
Node: 10.15.1 - C:\Users\Otto\AppData\Local\Temp\yarn
–1570479662701-0.6787914289683961\node.CMD
Yarn: 1.13.0 - C:\Users\Otto\AppData\Local\Temp\yarn-
-1570479662701-0.6787914289683961\yarn.CMD
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.3.0.0 AI-182.5107.16.33.52
64788

Hey @ottovw, can you try running rm -rf .expo in your project’s directory and see if that resolves the error?

Cheers,
Adam

That seems to have worked. Strangely I did try that 15 minutes before and it didn’t help.

Thanks!

1 Like

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