title: gCloud: File index.js does not exist in root directory
body: <p>I am a first time user of Gcloud. When I run the following command: </p>
  
  <pre><code>gcloud beta functions deploy FirstBot --stage-bucket [BUCKET_NAME] --trigger-http
  </code></pre>
  
  <p>I'm getting this error in my cmd:</p>
  
  <pre><code>ERROR: (gcloud.beta.functions.deploy) OperationError: code=3, message=Function l
  oad error: File index.js or function.js that is expected to define function does
  n't exist in the root directory.
  </code></pre>
  
  <p>I have tried 2 index.js files:
  Here's no.1:</p>
  
  <pre><code>   /*
   HTTP Cloud Function.
  
   @param {Object} req Cloud Function request context.
   @param {Object} res Cloud Function response context.
  */
  exports.FirstBot = function FirstBot (req, res) {
    response = "This is a sample response from your webhook!" //Default response from the webhook to show it's working
  
  res.setHeader('Content-Type', 'application/json'); //Requires application/json MIME type
    res.send(JSON.stringify({ "speech": response, "displayText": response 
    //"speech" is the spoken version of the response, "displayText" is the visual version
    }));
  };
  </code></pre>
  
  <p>Here's the second one:</p>
  
  <pre><code>/
   HTTP Cloud Function.
  
   @param {Object} req Cloud Function request context.
   @param {Object} res Cloud Function response context.
  */
  exports.helloHttp = function helloHttp (req, res) {
    response = "This is a sample response from your webhook!" //Default response from the webhook to show it's working
  
  res.setHeader('Content-Type', 'application/json'); //Requires application/json MIME type
    res.send(JSON.stringify({ "speech": response, "displayText": response 
    //"speech" is the spoken version of the response, "displayText" is the visual version
    }));
  };
  </code></pre>
  
  <p>The name of my project is FirstBot.
  I have created a bucket also.</p>
  
  <p>The path of my FirstBot folder is C:\FirstBot. The index.js file is inside it.
  I am following the tutorial at: <a href="https://api.ai/docs/getting-started/basic-fulfillment-conversation" rel="noreferrer">https://api.ai/docs/getting-started/basic-fulfillment-conversation</a></p>
  
  <p>Kindly help..Would be grateful!</p>