firebase-auth.html - Uncaught type error: Cannot read property 'token' of undefined

1.1k views Asked by At

I cloned the following Polymer todo-list app from https://github.com/PolymerLabs/todo-list and after setting it up as per the instructions, i got it running on local with gulp serve. I could signin and add/delete/update todos as expected. However, a colleague of mine who did the same thing is getting the following error enter image description here

My colleague is working from the Philippines if that matters at all. Could someone please advise how I can get it working on his local machine? We're both using Chrome btw and he does not run into any issues using a version that was deployed to firebase, just encountering the error on localhost. Thanks.

1

There are 1 answers

0
user3240644 On BEST ANSWER

The issue was caused by the firebase element as explained here. Updating the firebase element solved the problem.