You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[firebase] firebase emulators:start is not working #628
npm i
npm run build
firebase emulators:start --debug
Describe the bug
Firebase tools fails to start emulators or deploy functions. Looking closer, the externals plugin fails to trace some of the files found in firebase-functions node module. Although Firebase does not upload local node modules during deployment, it appears as though it needs some binaries present in node_modules to start the process. Without this, deployment fails.
Copying the complete node_modules/firebase-functions to .output/server/node_modules solves the issue, and I intend on adding this to the Firebase preset and submitting a PR.
[2022-10-31T22:57:55.055Z] Building nodejs source
[2022-10-31T22:57:55.055Z] Analyzing nodejs backend spec
[2022-10-31T22:57:55.058Z] Could not find functions.yaml. Must use http discovery
[2022-10-31T22:57:55.076Z] Error: spawn ./node_modules/.bin/firebase-functions ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Activity
[-]Externals plugin breaks Firebase deployment[/-][+][firebase] firebase emulators:start is not working [/+]pi0 commentedon May 16, 2024
I think it should be sovled last time i checked. if still have issues feel free to reopen 🙏🏼