title: Error: could not handle the request with Google Cloud Function and Express
body: <p>this is my code. Why when I go to the url of my cloud function I receive this message :"Error: could not handle the request" and I didn't see "Hello World!" ? Thanks</p>
  
  <pre><code>exports.simple = (req,res) =&gt; {
  
  var express = require('express');
  var https = require('https');
  var bodyParser = require('body-parser');
  var app = express();
  
  module.exports = app;
  
  return app.get('/', (req, res) =&gt; res.send("Hello World!"))
      .then((result) =&gt; {
       console.log("DONE",result);
       console.log("Delete opportunity");
      })
       .catch((err) =&gt; {
        console.log("ERROR",err);
      }) 
  };
  </code></pre>