Can not see the Firebase function deployed

后端 未结 15 838
失恋的感觉
失恋的感觉 2021-02-02 08:23

I followed the following steps:

  1. The Firebase CLI (Command Line Interface) requires Node.js and npm, which you can install by following the instructions on https

15条回答
  •  终归单人心
    2021-02-02 09:22

    1) Make sure you are exporting the function you are trying to deploy in your index.js file.

    2) Write 'use-strict' at the top of your file (index.js) then use console to deploy your function

提交回复
热议问题