login - Trying to add another service to the meteor accounts package -
i've found on github shows how add github login accounts. https://github.com/jabbslad/accounts-github
instead of installing package "mrt add accounts-github
", i'm downloading sources, , trying make them work simple app. goal of make few changes code understand how works , make own extension accounts.
but errors "cannot read property 'github' of undefined @ app/accounts-github/github_common.js:1:36
".
thx help.
because added package need ensure dependencies installed. can find dependencies in package.js
if want make package scratch ensure use package in meteor app. means put stuff in directory called accounts-github
in directory called packages
in root directory of meteor app.
you can add these dependencies in if don't want use package:
meteor add accounts-base meteor add accounts-oauth2-helper meteor add http
some dependencies should in meteor (i.e templating)
Comments
Post a Comment