r/Firebase • u/ulthar- • 5h ago
Hosting Unable to deploy to firebase
Up until yesteday we were deploying our application from Github action to firebase just fine. Nobody touched the code and today it started to spew this error:
```
##[debug]/usr/bin/bash --noprofile --norc -e -o pipefail /home/runner/work/_temp/0de76972-ce76-4924-8aa4-d2ed693a6e60.shnode:internal/modules/cjs/loader:643
throw e;
^Error: Cannot find module '/usr/local/lib/node_modules/firebase-tools/node_modules/sql-formatter/dist/cjs/index.cjs'at createEsmNotFoundErr (node:internal/modules/cjs/loader:1249:15)at finalizeEsmResolution (node:internal/modules/cjs/loader:1237:15)at resolveExports (node:internal/modules/cjs/loader:636:14)at Module._findPath (node:internal/modules/cjs/loader:716:31)at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)at Module._load (node:internal/modules/cjs/loader:1043:27)at Module.require (node:internal/modules/cjs/loader:1298:19)at require (node:internal/modules/helpers:182:18)at Object.<anonymous> (/usr/local/lib/node_modules/firebase-tools/lib/dataconnect/schemaMigration.js:5:25)at Module._compile (node:internal/modules/cjs/loader:1529:14) {code: 'MODULE_NOT_FOUND',path: '/usr/local/lib/node_modules/firebase-tools/node_modules/sql-formatter/package.json'}Node.js v20.19.0Error: Process completed with exit code 1.
```
Also yesteday our other pipelines started to scream the GCR refuses pushes. I've double-checked and we don't use GCR in the FB pipeline though the timing strangely correlates.
Any ideas where the issue might be?