-
Notifications
You must be signed in to change notification settings - Fork 971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
functions:deploy mod.hasOwnProperty is not a function #1687
Comments
Looks like it comes from here: firebase-tools/src/extractTriggers.js Line 9 in 78f11b6
@matheo could you show your main file where you export the functions? |
Weird, it was working two weeks ago. @samtstern which one is used by
The
|
@samtstern I see that the problem is inside each
so the
|
* master: change out tslint for eslint, new publish config (firebase#486) Remove scripts/package.json and update firebase version. (firebase#1704) Fix functions deploy integration test script (firebase#1703) Loop the modules properties without prototype methods. Fixes firebase#1687 (firebase#1694) Allow customers to configure the db setting 'strictTriggerValidation' (firebase#1702) [firebase-release] Removed change log and reset repo after 7.5.0 release 7.5.0 Fix export users (firebase#1690) Fix port issues in WSL (firebase#1699) Unremove but deprecate separate port for WebChannel. (firebase#1698) Release Firestore Emulator 1.9.0 and remove WebChannel workaround. (firebase#1689) update handlebars dependency (firebase#1686) [firebase-release] Removed change log and reset repo after 7.4.0 release 7.4.0 remove items from previews list (firebase#488)
Environment info
firebase-tools: v7.4.0
Platform: Ubuntu 19.04
Problem
Trying to deploy a function:
firebase deploy --only functions:Plivo.CallHangup
stops with an error:
Error: mod.hasOwnProperty is not a function
Actual behavior
The text was updated successfully, but these errors were encountered: