ikismail / Angular-ShoppingCart

ShoppingCart (Ecommerce) πŸ›’ Application using Angular10, Firebase, PWA, Drag&Drop, Materialized Bootstrap and i18n πŸš€πŸ”₯πŸ‘¨β€πŸ’»
https://angular-shoppingcart.firebaseapp.com/
MIT License
621 stars 387 forks source link

Payload error and some warnings #56

Closed sandhyadevadas closed 4 years ago

sandhyadevadas commented 5 years ago

In console I get


 @firebase/database: FIREBASE WARNING: Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding ".indexOn": "email" at /clients to your security rules for better performance. 
a @ main.a411b3aefe2060069f37.js:1
main.a411b3aefe2060069f37.js:1 [2019-11-10T06:52:13.017Z]  @firebase/database: FIREBASE WARNING: Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding ".indexOn": "email" at /clients to your security rules for better performance. 

main.a411b3aefe2060069f37.js:1 ERROR TypeError: Cannot read property 'payload' of undefined
    at e._next (main.a411b3aefe2060069f37.js:1)
    at e.__tryOrUnsub (main.a411b3aefe2060069f37.js:1)
    at e.next (main.a411b3aefe2060069f37.js:1)
    at e._next (main.a411b3aefe2060069f37.js:1)
    at e.next (main.a411b3aefe2060069f37.js:1)
    at main.a411b3aefe2060069f37.js:1
    at e.invoke (polyfills.b7350c3d51914905fd2f.js:1)
    at Object.onInvoke (main.a411b3aefe2060069f37.js:1)
    at e.invoke (polyfills.b7350c3d51914905fd2f.js:1)
    at t.run (polyfills.b7350c3d51914905fd2f.js:1)

node version 10.13.0 cli version 7.1.1