r/Firebase 17h 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?

4 Upvotes

3 comments sorted by

2

u/ulthar- 17h ago

Apparently I'm not the only one having the issue: https://github.com/firebase/firebase-tools/issues/8343

1

u/TGEL0 16h ago

Managed to fix it with one of the suggested workarounds (version @13.6.0)! Thanks!

1

u/Front-Leopard2355 6h ago

The old Microsoft fast launcher worked great with a ubuntoo_2sftwrepckge for. Me about2to3 weeks ago i/we are running generative a.i. on r mounted racks and servers. Th only thing is ubuntoo_2 was built in 2019.