Edit: despite my change attempts and conversation with myself, below… I still have the same error with no explanation.
I have an issue publishing from command line. I haven’t changed code. I am currently using exp version 47.4.0.
This is a detached app. Publishing has worked before. Publishing with XDE but my publish command involves env vars, release-channels and clearing the cache. So, I’d rather use command line.
This is what I see…
[exp] There was an error publishing your project. Please check for any warnings.
[exp] Set EXPO_DEBUG=true in your env to view the stack trace.
error Command failed with exit code 1.
No warnings, so I’m not sure what I’m supposed to look for.
Lesson learned: Don’t upgrade exp just bc exp publish warns you about upgrading. 47.4.0 was a mess. My Android apk became twice the size and I had all sorts of other issues.
Now I’m dealing with [exp] Error starting tunnel: XDLError: failed to start tunnel.
Google “how to set environment variable mac” or “how to set environment variable ubuntu” or “how to set environment variable windows” depending on what platform you’re on.