Firebase Cloud Functions Deploy Error

March 9, 2020
INVALID_ARGUMENT: npm_install had stderr output: npm WARN tar ENOENT: no such file or directory, open ‘/workspace/node_modules/.staging/ …

To solve the above issues

rm functions/package-lock.json

firebase deploy --only functions:FUNCTION_NAME
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.