我是使用Firebase功能的新手,我一直在按照本教程进行设置:https://angularfirebase.com/lessons/angular4-transactional-email-with-cloud-functions-and-sendgrid/但是当我尝试使用它进行部署时

firebase deploy --only functions

我收到以下错误

Running command: C:\Users\fjral\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\.bin\cross-env npm --prefix "$RESOURCE_DIR" run build
npm ERR! missing script: build

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\fjral\AppData\Roaming\npm-cache\_logs\2018-03-08T20_09_37_587Z-debug.log

Error: functions predeploy error: Command terminated with non-zero exit code1

我看到它说缺少脚本:build,但我不确定在哪里找到它,或者如何替换/修复问题 .