bitrise-step-firebase-app-distribution
bitrise-step-firebase-app-distribution copied to clipboard
Step fails with error code 126
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.
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:
Do you know how can we fix this issue?
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?