EBADPLATFORM
See original GitHub issueAction config
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
expires: 30d
projectId: my-awesome-project
–>
Error message
/opt/hostedtoolcache/node/14.20.0/x64/bin/npx firebase-tools deploy --only hosting --project connected-north --json npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for @esbuild/android-arm@0.15.8: wanted “os”:“android”,“arch”:“arm” (current: “os”:“linux”,“arch”:“x64”) npm ERR! notsup Valid OS: android npm ERR! notsup Valid Arch: arm npm ERR! notsup Actual OS: linux npm ERR! notsup Actual Arch: x64
npm ERR! A complete log of this run can be found in: npm ERR! /home/runner/.npm/_logs/2022-09-29T18_47_33_349Z-debug.log Install for [ ‘firebase-tools@latest’ ] failed with code 1
The process ‘/opt/hostedtoolcache/node/14.20.0/x64/bin/npx’ failed with exit code 1 Retrying deploy with the --debug flag for better error output /opt/hostedtoolcache/node/14.20.0/x64/bin/npx firebase-tools deploy --only hosting --project connected-north --debug npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for @esbuild/android-arm@0.15.8: wanted “os”:“android”,“arch”:“arm” (current: “os”:“linux”,“arch”:“x64”) npm ERR! notsup Valid OS: android npm ERR! notsup Valid Arch: arm npm ERR! notsup Actual OS: linux npm ERR! notsup Actual Arch: x64
npm ERR! A complete log of this run can be found in: npm ERR! /home/runner/.npm/_logs/2022-09-29T18_47_34_860Z-debug.log Install for [ ‘firebase-tools@latest’ ] failed with code 1
The process ‘/opt/hostedtoolcache/node/14.20.0/x64/bin/npx’ failed with exit code 1 Error: The process ‘/opt/hostedtoolcache/node/14.20.0/x64/bin/npx’ failed with exit code 1
conclusion: 'failure',
output: ***
title: 'Deploy preview failed',
summary: "Error: The process '/opt/hostedtoolcache/node/14.20.0/x64/bin/npx' failed with exit code 1"
***
Issue Analytics
- State:
- Created a year ago
- Reactions:7
- Comments:10
Alright, y’all should be unblocked now. Sorry for the disruption!
+1