question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expo publish - basic action not working

See original GitHub issue

Description of the bug

Hello all! And thanks for the awesome library. I would like to know if it’s something related to Expo, or Github actions itself. I’ve set up the basic publish every push to the master repository, but i got an error when the actions is running expo publish

To Reproduce

name: Expo Publish
on:
  push:
    branches: 
      - master
jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: actions/setup-node@v1
      with:
          node-version: 12.x
    - uses: expo/expo-github-action@v5
      with:
          expo-version: latest
          expo-username: ${{ secrets.EXPO_CLI_USERNAME }}
          expo-password: ${{ secrets.EXPO_CLI_PASSWORD }}
          expo-cache: true
    - run: yarn install
    - run: expo publish

Expected behavior

To publish the package

Actual behavior

This is the error ##[error]Process completed with exit code 1.

β€” Edit I’ve also added EXPO_DEBUG:true and changed the expo-version to 3.13.1 but the Action is not working…

resize:  can't open terminal /dev/tty
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                                                                                                                                          β”‚
β”‚   There is a new version of expo-cli available (3.13.8).                                                                                 β”‚
β”‚   You are currently using expo-cli 3.13.1                                                                                                β”‚
β”‚   Install expo-cli globally using the package manager of your choice; for example: `npm install -g expo-cli` to get the latest version   β”‚
β”‚                                                                                                                                          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
[15:09:04] Publishing to channel 'default'...
[15:09:05] Building iOS bundle
[15:09:05] connect ECONNREFUSED 127.0.0.1:19003
[15:09:05] Error: connect ECONNREFUSED 127.0.0.1:19003
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
byCedriccommented, Mar 15, 2020

Awesome! Thanks for the follow up, your app looks great πŸ˜„ Some extra tips to fine tune your setup:

  • It’s not recommended to commit .expo because it contains information that should only be used on your development machine (not on other systems) you already did this πŸ‘
  • It’s good to commit .expo-shared because that contains information about image optimization, which is good to share. (you can see this in the template’s gitignore too)
  • You may (or may not, up to you) commit the lockfile, it’s not bad to share this. Although some developers prefer to not do this, it can help speed up the yarn install by Β±30s and keeping exact versions consistently across multiple machines.

If you encounter anything else, lmk! You can also ping me on the Expo Developers slack if you run into urgent issues. Good luck and have fun developing your app! πŸ˜„

1reaction
Derewithcommented, Mar 15, 2020

@byCedric thanks for everything… now seems to work! – link to the repo

Read more comments on GitHub >

github_iconTop Results From Across the Web

Expo publish fails in github actions but works locally
My CI was running on ubuntu which has a case sensitive file system, so metro was not able to resolve my modules. To...
Read more >
Troubleshooting build errors and crashes - Expo Documentation
A reference for troubleshooting build errors and crashes when using EAS Build. This document is under active development; the topic it covers is...
Read more >
Simple automated release workflow for React Native with Expo
Today I am going to show you how to automate the deploy of your React Native application built with Expo. Requirements: Expo account....
Read more >
How Expo Is Fooling Everyone - Better Programming
Hidden β€œgems” that are not revealed to developers using Expo ... allowing for various actions (creation, logs, publishing). ... Why is this a...
Read more >
expo firebase not working : r/reactnative - Reddit
I followed the document : https://docs.expo.dev/guides/using-firebase/ to install firebase into my expo project with firebase version 9.1.0Β ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found