Deploy to Firebase suddenly stopped working

Deploy to Firebase suddenly stopped working

An hour ago the deploys worked like they used to, all build steps work, but the final firebase deploy does not work.

So normally my output would be something like this starting from the firebase command:

However all fails immediately after that now:

I have not changed anything in the gitlab yaml settings. Have not changed the deploy key (even tested it again locally, works fine). Rerunning jobs that previously succeeded now fail in the same manner.

The current YAML looks like:

image: node:12-alpine
cache:
  paths:
    - node_modules/


deploy_hosting:
  stage: deploy
  environment: Production
  only:
    - master
  script:
    - npm i -g firebase-tools tslint typescript
    - npm install
    - npm run build
    - firebase deploy --only hosting --non-interactive --token $FIREBASE_DEPLOY_KEY -m "Pipeline $CI_PIPELINE_ID, build $CI_JOB_ID"

deploy_functions:
  stage: deploy
  environment: Production
  only:
    - master
  script:
    - npm i -g firebase-tools
    - firebase deploy --only functions --non-interactive --token $FIREBASE_DEPLOY_KEY -m "Pipeline $CI_PIPELINE_ID, build $CI_JOB_ID"

For fixing it, I have tried using a more recent version of node-alpine, 12 instead of 10. But that remained the same. I literally have no idea what it could cause. The error is so abrupt, I would expect at least some output before that command stops.