Open bijoutrouvaille opened 5 years ago
@bijoutrouvaille I think this is a Java version compatibility issue. Do you have Java 8 installed on your machine? What do you get when you run java -version
?
cc @ryanpbrewster I am surprised the error is this ugly.
@samtstern You are right on both accounts. I had to update my JDK, which apparently is different from the system Java version. And the error is pretty bad. Not a Java guy. Thanks for the quick help. The emulator is running now.
@bijoutrouvaille glad it worked!
Reopening this to address the error message (not useful) and docs (incomplete). Ran into this today. Found that our setup doc doesn't mention which Java dependency--JRE, JSE, JDK, MRE, WTF, or OMG--is needed (okay, I made some of those up).
Last but not least, no error was shown in the console when it failed. Just "Error... exited with code 1" and I had to hunt down the error in firebase-debug.log, which didn't help either.
Furthermore, download for 14 seems broken on the Java site, which exacerbates the issue.
Running the emulator after
firebase setup:emulators:firestore
gives the following error: