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
Running firebase emulators:start --debug causes a fatal error in the Emulator UI, exiting with code 1. This error appears to be related to the module type for server.mjs, which requires ESM support but is being handled by CommonJS’s require().
To Reproduce
Run firebase init and select only auth to emulate.
Describe the bug
Running
firebase emulators:start --debug
causes a fatal error in the Emulator UI, exiting with code1
. This error appears to be related to the module type forserver.mjs
, which requires ESM support but is being handled by CommonJS’srequire()
.To Reproduce
firebase init
and select only auth to emulate.firebase emulators:start
.My firebase.json
Expected behavior
The emulators should start successfully, with the Emulator UI accessible and logging as expected.
Screenshots
No screenshots were provided.
Desktop (please complete the following information):
Additional context
import()
in place ofrequire()
for/server/server.mjs
, aligning with Node's ESM requirements.The text was updated successfully, but these errors were encountered: