Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AuthRouteHelper.dependencies(): Cannot read property 'get' of undefined #57

Closed
doovers opened this issue May 31, 2016 · 1 comment
Closed

Comments

@doovers
Copy link

doovers commented May 31, 2016

AuthRouteHelper.injector(); returns undefined hence the error mentioned in the title. Any idea why this is failing? I'm using the same code in another app and it works fine, although I'm using angular-cli for this one.

The calling code is @CanActivate(() => AuthRouteHelper.requireAuth())

@doovers
Copy link
Author

doovers commented May 31, 2016

Not sure why but it's working all of a sudden now! Possible the cli, I've had a few other issues with it...

@doovers doovers closed this as completed May 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant