You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 15, 2019. It is now read-only.
Create a file as such const functions = require('firebase-functions'); exports.helloWorld = (req, res) => res.send("Hello, World!"); and comment the require functions.
Warning: You're using Node.js v11.8.0 but the Google Cloud Functions runtime is only available in Node.js 6 and Node.js 8. Therefore, results from running emulated functions may not match production behavior.
Copying file:///var/folders/5z/r24zhntn759gj_m8ywv_m0tr0000gn/T/tmp-9639ai20X1swzyN3.zip...
Waiting for operation to finish...done.
Deploying function......(node:9640) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:8008
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1083:14)
(node:9640) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:9640) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered:
Environment details
Steps to reproduce
const functions = require('firebase-functions'); exports.helloWorld = (req, res) => res.send("Hello, World!");
and comment the require functions.functions start && functions deploy helloWorld --trigger-http
-> deploy successful.functions start && functions deploy helloWorld --trigger-http
-> deploy Fails. throws an errorThe text was updated successfully, but these errors were encountered: