Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upfunctions:deploy mod.hasOwnProperty is not a function #1687
Comments
This comment has been minimized.
This comment has been minimized.
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? |
This comment has been minimized.
This comment has been minimized.
Weird, it was working two weeks ago. @samtstern which one is used by
The
|
This comment has been minimized.
This comment has been minimized.
@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