title: Firebase functions - Failed to retrieve function source code
body: <p>I get the error: "Failed to retrieve function source code" when I try and deploy a function.</p>
  
  <p><a href="https://i.stack.imgur.com/g3GKP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g3GKP.png" alt="enter image description here"></a></p>
  
  <p>This is all from the command line. I am using node 6.11.5 (but in the firebase-admin package.json file in the nodes folder it is says node 6.9.1 is used to download that). I am using firebase-admin@5.8.1 and firebase-functions@0.8.1.</p>
  
  <p>This is the code in my index.js file that I am trying to deploy:</p>
  
  <pre><code>const functions = require('firebase-functions');
   exports.helloWorld = functions.https.onRequest((request, response) =&gt; {
    response.send("Hello from Firebase!");
   });
  </code></pre>
  
  <p>I have also tried to deploy many different things.</p>
  
  <p>Two interesting things: 
  - I used to be able to deploy any function without problem. This changed about a month ago and now every function I try gets this error. I can't remember making any change that would be related to this.
  - Also I can deploy functions from my computer (with the exact same set up and firebase versions) to other projects in the same google account and different google accounts without any problem.</p>
  
  <p>Thanks</p>