FirebaseExtended / action-hosting-deploy

Automatically deploy shareable previews for your Firebase Hosting sites
https://firebase.google.com/docs/hosting/github-integration
Apache License 2.0
695 stars 202 forks source link

EBADPLATFORM #237

Closed crystal6117 closed 1 year ago

crystal6117 commented 1 year ago

Action 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"
***

dcroote commented 1 year ago

+1

joaquinperaza commented 1 year ago

+1

nickrench3 commented 1 year ago

+1

dawogfather commented 1 year ago

+1 👍🏽

ihor-panasiuk95 commented 1 year ago

+1

Aviraiffer commented 1 year ago

+1

UgniusSmidtas commented 1 year ago

+1

TomasMasiulis commented 1 year ago

+10

bkendall commented 1 year ago

Hey! Sorry, this isn't a repo that trickles to the top of my email, so I'm late getting here. This should be resolved by firebase/firebase-tools#5052 which should be released later today.

bkendall commented 1 year ago

Alright, y'all should be unblocked now. Sorry for the disruption!