-
Notifications
You must be signed in to change notification settings - Fork 933
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing v11.12.0 fails with EBADPLATFORM on linux container #5041
Comments
This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information. |
Same here, EBADPLATFORM on Github Actions
|
This output got inside Actions
With
|
We are experiencing the same issue. On 2 different runs we had 2 similar but different errors. Attempt 1:
Attempt 2:
|
This is interesting. Did the same happen on
|
Pining to e.g. |
Here's an interesting thought: it only happens with Fix/WorkaroundSo if you're stuck, see if you can upgrade Or, upgrade to
|
I had the same issue today on So for now, the solution would be to upgrade |
+1 We started seeing this in our github action using https://github.com/FirebaseExtended/action-hosting-deploy since that's using firebase-tools@latest |
It is a bit harmful because node 14 with npm 6 are both LTS Forced upgrade appears to be a pretty bad solution |
Node 14 is actually in maintenance mode (I don't know about/if It's a bit of a "rock and a hard place" situation we're still discussing internally. We want to bring the cool new features to you! But having to fight/work around tooling is the worst. Until then, I'm not aware of any issues using npm@8 with node@14, so the workaround above to install npm@8 should work, but I acknowledge that it's not ideal. |
We think we have a solution to move the troublesome dependency around. We're doing some verification on the idea, but if it works out we'll try to get a new release out tomorrow (Friday). |
I experienced this same issue. Went with the upgrade to |
This should be addressed by #5052, which I plan to release soon. |
Alright, this should be addressed in |
Still happening for me. v11.13.0, Node version 16.17.1. |
I'm using Cloud Build with the following yaml: steps:
- name: 'node:16.17.1'
id: 'node'
entrypoint: 'npm'
dir: 'functions'
args: ['install']
- name: gcr.io/cloud-builders/gcloud
id: concurrency-prevention
entrypoint: bash
args:
- -c
- |
initialbuilds=$(gcloud builds list --ongoing | sed "1 d" | cut -f1 -d " ")
while [[ $( gcloud builds list --ongoing | sed "1 d" | cut -f1 -d " " | grep "$initialbuilds" | wc -l ) -ge 2 ]]; do
echo "Waiting for the following existing builds to finish. Will retry in 5 minutes."
echo $initialbuilds
sleep 300
done
waitFor: ['node']
- name: gcr.io/$PROJECT_ID/firebase
id: check-pr
entrypoint: bash
env:
args:
- -c
- |
case "$_BASE_BRANCH" in
develop)
echo "PR in to develop"
;;
*)
echo "PR not into develop but into $_BASE_BRANCH"
exit 1
;;
esac
waitFor: ['concurrency-prevention']
- name: gcr.io/$PROJECT_ID/firebase
id: run-tests
entrypoint: bash
dir: functions
args:
- -c
- |
npm i && firebase use dev && npm run env:dev && npm run test
waitFor: ['check-pr'] |
@SpiegelSoft I'm not sure where you're seeing your issue. Could you give more details and ideally a minimal repro sample? If the issue is in the |
This is happening in the GCP Cloud Build system. Currently, my entire CI build process is broken. |
same issue, i get the following errors on deploy:
This happens for all currently released versions above I am using my package.json: "dependencies": {
"@dnd-kit/core": "^6.0.5",
"@dnd-kit/modifiers": "^6.0.0",
"@dnd-kit/sortable": "^7.0.1",
"cors": "^2.8.5",
"firebase": "^9.9.3",
"firebase-admin": "^11.0.1",
"firebase-functions": "^3.23.0",
"firebase-tools": "^11.11.0",
"firebaseui": "^6.0.1",
"material-icons": "^1.11.8",
"next": "^12.3.0",
"nodemailer": "^6.7.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-firebase-hooks": "^5.0.3"
},
"devDependencies": {
"@types/firebase": "^3.2.1",
"@types/node": "^18.6.2",
"@types/nodemailer": "^6.4.6",
"@types/react": "^18.0.15",
"@types/react-dom": "18.0.6",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"eslint": "^8.23.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-next": "^12.2.5",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"prettier": "^2.7.1",
"typescript": "^4.7.4"
} UPDATEIt works after updating to |
Same error here, after upgrading Solution: downgrade |
Runing
npm install -g firebase-tools@11
on circle ci gets an errorAlso reproducible on Docker with
node:14
imagedocker run --rm -ti node:14 npm install -g firebase-tools@11
[REQUIRED] Environment info
firebase-tools: v11.12.0
Platform: Docker node:14, Debian based
[REQUIRED] Test case
Run a node14 container and try to install firebase tool
docker run --rm -ti node:14 npm install -g firebase-tools@11
[REQUIRED] Steps to reproduce
docker run --rm -ti node:14 npm install -g firebase-tools@11
[REQUIRED] Expected behavior
Install the linux version of firebase-tool successfully
[REQUIRED] Actual behavior
Throws error stating I should be on android OS
The text was updated successfully, but these errors were encountered: