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
Start a Firebase emulator by running firebase emulators:start
[REQUIRED] Steps to reproduce
Same as above
[REQUIRED] Expected behavior
Firebase emulator starts without any error.
[REQUIRED] Actual behavior
Firebase emulator starts, displaying false warning about an emulator instance already running, and then crashed showing the message: An unexpected error has occured.
Hey @starleaf1, thanks for reaching out and sharing your debug logs. I’m trying to reproduce the issue you mentioned, but I encountered no errors when starting the emulators on an existing project.
Looking through your logs, it seems like the reason why the emulators wasn’t able to start was due to this error:
[debug] [2023-12-08T15:10:32.589Z] TypeError: (0 , strip_ansi_1.default) is not a function
at Socket.<anonymous> (/home/starleaf1/.nvm/versions/node/v18.17.0/lib/node_modules/firebase-tools/lib/frameworks/vite/index.js:93:67)
at Socket.emit (node:events:514:28)
at Socket.emit (node:domain:489:12)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
[error]
[error] Error: An unexpected error has occurred.
Could provide detailed steps to reproduce the issue or an MCVE where the issue is reproducible so that we can replicate it on our end?
I’m using the following to try and reproduce the issue:
Ok after a rm -rf node_modules and a fresh install I'm able to repro, a fix will be out in the next release. In the meantime 13.0.0 will work (unless you're on Windows).
Activity
aalej commentedon Dec 8, 2023
Hey @starleaf1, thanks for reaching out and sharing your debug logs. I’m trying to reproduce the issue you mentioned, but I encountered no errors when starting the emulators on an existing project.
Looking through your logs, it seems like the reason why the emulators wasn’t able to start was due to this error:
Could provide detailed steps to reproduce the issue or an MCVE where the issue is reproducible so that we can replicate it on our end?
I’m using the following to try and reproduce the issue:
jamesdaniels commentedon Dec 8, 2023
It seems to me that this is likely for our fix in Windows environments #6588 I'm unable to reproduce however, so something definitely seems off
jamesdaniels commentedon Dec 8, 2023
Ok after a rm -rf node_modules and a fresh install I'm able to repro, a fix will be out in the next release. In the meantime 13.0.0 will work (unless you're on Windows).