Aug 8, 2017 · 1 min read
Akshay, thank you for such great article. I have spent the last 3 days pulling my hair trying to learn cloud functions. Your article saved me!!!
I do have a question and I hope you can help. My root project is an ionic app and I add the scripts below to my ionic package.json file (root project’s package.json)
“scripts”: {
…
“compile-functions”: “tsc — project functions”,
“deploy-functions”: “tsc — project functions && firebase deploy — only functions”
},
When I run ‘npm run deploy-functions’ I get an error message:
npm ERR! missing script: deploy-functions
Any ideas?
