title: Can't install google cloud functions emulator
body: <p>I am trying to update firebase to the lastest version and encountered an error. That pointed me to the functions-emulator having an issue:</p>
  
  <pre><code>$ npm install @google-cloud/functions-emulator
  npm ERR! Unexpected end of JSON input while parsing near '..."retry-request":"^4.0'
  </code></pre>
  
  <p>This happens after the recent update on firebase. Am I doing something wrong or is this bug I should report?</p>
  
  <p>Tried multiple solutions including a complete de-install of npm, node and even vsc. Updating npm, trying to install the cloud functions emulator specifically...always the same error in some dependency file.</p>
  
  <p>Here's the <a href="https://pastebin.com/R2ZESm7b" rel="nofollow noreferrer">error log</a></p>
  
  <pre><code>88 error Unexpected end of JSON input while parsing near '..."retry-request":"^4.0'
  </code></pre>
  
  <p>I was just looking to update firebase to the latest version. Now everything is broken :D</p>
  
  <p>Any help is much appreciated.</p>