New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"firebase emulator:start" will not run #2307
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
@Elijer thanks for filing this. Looks like the Firestore emulator is crashing on startup. |
I tried rolling back the node version on my computer to node 8 according to the console warning but it didn't help. |
Okay! Got it. definitely a slight facepalm. My Java SDK was woefully out of date. Figure it out at this stackexchange issue. Updated Java Developer Kit
|
@Elijer thanks! Looks like we check for the existence of |
Definitely! Would love to save that time for other users. Thanks again for the help. |
This is where the download is - https://www.oracle.com/java/technologies/javase-downloads.html @samtstern however when I updated it I still am getting the error. How do I resolve the issue? |
Environment info
firebase-tools: 8.4.1
Platform: Mac OS Sierra
Test case
When I run
firebase emulators:start
, an error is thrown and the emulators are not run.If I run
firebase emulators:start
additional times after this, the same errors are thrown in addition to this warning:It seems that you are running multiple instances of the emulator suite for project fir-emulator-issue2. This may result in unexpected behavior.
I haven't been able to get the emulators to run successfully yet.
Steps to reproduce
Create a new public directory and init a newly created firebase project into it. Add emulators to the init: include firestore, hosting and functions. Then, in the console, run:
firebase emulators:start
.Here is a github repo of a minimal reproduction
In the readme of the github repo I included the logs for the
firebase init
configuration just in case.Here is a live deploy
Expected behavior
I would expect the emulators to start instead of running an error and crashing. I would also expect to see a line saying that the 'processes shut down' with each additional run of
firebase emulators:start
instead of the console telling me that the emulator is already running.Actual behavior
The text was updated successfully, but these errors were encountered: