title: Firebase Cloud Functions emulator throws "exited with code: 1" error
body: <p>I'm trying to setup my local environment for testing firebase cloud functions. I've followed along with <a href="https://firebase.google.com/docs/functions/local-emulator" rel="noreferrer">their documentation</a> but now bump into the following error:</p>
  
  <blockquote>
    <p>Error: firestore: emulator has exited with code: 1</p>
  </blockquote>
  
  <p>I've found other SO threads regarding this issue but none with my specific logs:</p>
  
  <pre><code>i  Starting emulators: ["functions","firestore","hosting"]
  ⚠  Your requested "node" version "8" doesn't match your global version "12"
  ✔  functions: Emulator started at http://localhost:5001
  i  firestore: Logging to firestore-debug.log
  ✔  firestore: Emulator started at http://localhost:8080
  
  Error: firestore: emulator has exited with code: 1
  </code></pre>
  
  <p>The <code>firestore-debug.log</code> file does not really hint me in a direction neither:</p>
  
  <pre><code>Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/cloud/datastore/emulator/firestore/CloudFirestore : Unsupported major.minor version 52.0
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
  at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
  </code></pre>
  
  <p>Anyone here an idea what's causing this bug?</p>