Polymer + Firebase (Polymerfire): Cannot read property 'push' of undefined': 'this.$.query.ref.push(…)'
问题 I'm following a Polymer + Firebase tutorial video using the Polymer App Tool Kit (initiated with the polymer CLI). When I try to push data to a Firebase collection, I get the following error: Cannot read property 'push' of undefined' Here's my code (firebase app is initiated in my-app.html with name "firebase-app"): <dom-module id="add-model"> <!-- Defines the element's style and local DOM --> <template> <firebase-auth user="{{user}}" app-name="firebase-app"></firebase-auth> <firebase-query