Storing data to firebase


#1

I’m using ionic 3 framework. My problem is when i calling method of storing data to firebasse i’m getting error like this:

TypeError: Cannot read property ‘addItem’ of undefined
at http://localhost:8100/build/main.js:179:39
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15660)
at Object.onInvokeTask (http://localhost:8100/build/vendor.js:4973:33)
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15581)
at r.runTask (http://localhost:8100/build/polyfills.js:3:10834)
at e.invokeTask (http://localhost:8100/build/polyfills.js:3:16794)
at i.isUsingGlobalCallback.invoke (http://localhost:8100/build/polyfills.js:3:16682)
at n (http://localhost:8100/build/polyfills.js:3:61)
Please help me :slight_smile:


#2

Hey there,

Could you share a bit more information? Like what code are you using and what you’re trying to accomplish? The error message on its own doesn’t give me much.