Cloud Functions deploy error during lint on Windows: “enoent ENOENT: no such file or directory”

后端 未结 9 2479
轻奢々
轻奢々 2020-11-27 07:07

Following the firebase function getting started guide and getting a seemingly simple error once trying to deploy with:

firebase deploy --only functions

i  d         


        
9条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-27 07:50

    You have to change firebase.json file as shown in here

    "npm --prefix functions run lint"
    "npm --prefix functions run build"
    

提交回复
热议问题