AdamBrodzinski / meteor-phonegap-oauth

Fixes how Meteor handles OAuth popups on PhoneGap/fullscreen
MIT License
33 stars 7 forks source link

Can't find template, helper or data context key: loginButtons #7

Closed gdiab closed 10 years ago

gdiab commented 10 years ago

Exception from Deps recompute function: Error: Can't find template, helper or data context key: loginButtons

Not sure why this is happening except I removed accounts-ui-bootstrap-3-blaze and added phonegap-oauth. I also updated meteor before doing this.

Any ideas?

jperl commented 10 years ago

Try adding accounts-ui-bootstrap-3-blaze back? meteor-phonegap-oauth does not include any templates -- the only thing it does is patch meteor's auth code to use the InAppBrowser instead of a popup window.

AdamBrodzinski commented 10 years ago

It sounds like your calling {{> loginButtons}} somewhere in your templates but no login buttons are there (prob from removing the accounts-ui-bootstrap-3-blaze package).

On one of my desktop apps i'm using the accounts-ui-bootstrap-3 package. It also supports blaze. On mobile you may ultimately want to roll your own though because of the dropdown.

You may want to run an mrt update as well to ensure you're using the latest packages for your newly updated meteor app.

gdiab commented 10 years ago

Thanks for explanation guys, will try adding back. I didn't think these two packages could coexist.

AdamBrodzinski commented 10 years ago

Sure np. I'll add some more info to the readme to clear things up as well. I'll close this but feel free to re-open it if there's still an issue.

Thanks!