bitrise-step-firebase-app-distribution icon indicating copy to clipboard operation
bitrise-step-firebase-app-distribution copied to clipboard

Step fails with error code 126

Open markopoinz opened this issue 1 year ago • 1 comments

Hi, we were using this step for a long time and it is very useful.

We started having problems with this once we moved to the node v18 because we updated react native to v73 which requires node >= 18.

Also I can confirm that node v18.16.0 is installed globally in this workflow. See screenshot bellow. I added this step just to be sure it's installed correctly just before we run firebase-app-distribution step.

Screenshot 2024-01-25 at 13 55 24

Workflow is designed to test, build and release the app to app distribution so that our internal testers can check the new release.

After .apk is created we are running firebase-app-distribution step which fails with the error code 126.

Peice of bitrise.yml:

deploy-firebase:
    steps:
    - firebase-app-distribution@0:
        inputs:
        - app: $FIREBASE_APP_ID
        - upgrade_firebase_tools: "true"
        - groups: $FIREBASE_TESTER_GROUPS
        - service_credentials_file: $FIREBASE_SERVICE_ACCOUNT
        - release_notes_file: $RELEASE_NOTES_FILE

Screenshot of the error log: Screenshot 2024-01-25 at 13 42 14

Do you know how can we fix this issue?

markopoinz avatar Jan 25 '24 12:01 markopoinz

Here they have mentioned a workaround: https://discuss.bitrise.io/t/m1-error-getting-installed-npm-version-error-running-npm-command-no-preset-version-installed-for-command-npm/22943

Can you please check?

guness avatar Jan 25 '24 15:01 guness