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.

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

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:7
  • Comments:10

github_iconTop GitHub Comments

10reactions
bkendallcommented, Sep 30, 2022

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

1reaction
Aviraiffercommented, Sep 30, 2022

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm install error (code EBADPLATFORM) - node.js
This error message says that fsevents package does not support your operating system. In my case the solution for this error was to...
Read more >
EBADPLATFORM when npm install --save-dev msw on ...
Describe the bug Running npm install --save-dev msw on Windows 10 produces an error npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported ...
Read more >
[Solved]-npm install error (code EBADPLATFORM)-node.js
This error message says that fsevents package does not support your operating system. In my case the solution for this error was to...
Read more >
primordials is not defined in index.js + EBADPLATFORM
I'm getting this error primordials is not defined when I try to compile my angular application. > gulp && rimraf dist fs.js:27 const...
Read more >
T297971 Can't npm install without deleting package-lock
I'll try to do my best with it! npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for esbuild-android-arm64@0.13.4: wanted {"os":"android" ...
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