I am new to using Firebase functions and I have been following this tutorial on setting it up: https://angularfirebase.com/lessons/angular4-transactional-email-with-cloud-functions-and-sendgrid/ but when I try to deploy it using
firebase deploy --only functions
I get the following error
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
I see that it says missing script: build, but I'm not sure where to find this, or how to replace/fix the issue.