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

NullInjectorError: No provider for ElementRef! #588

Closed
abbasharoon opened this issue Jun 10, 2018 · 2 comments
Closed

NullInjectorError: No provider for ElementRef! #588

abbasharoon opened this issue Jun 10, 2018 · 2 comments

Comments

@abbasharoon
Copy link

Describe the bug
Hi, Orignally I was gonna post about another bug but as the requirement for issue to be considered is a reproducible copy of code on slackblitz and slackblitz example code is giving me the above error when I try to run Custom Template code there.

Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/angular-hyehrq
Forked from here without any modifications:
https://mattlewis92.github.io/angular-calendar/#/custom-templates

Screenshots
sketch 9

Versions:

  • @angular/core: 6.0.1
  • angular-calendar 0.25.2
  • Browser name and version: Chrome Latest
@mattlewis92
Copy link
Owner

Thanks for reporting, that's super weird. I've just pushed up a fix, please let me know if it works for you (you may have to clear your browser cache and reload the page for it to load up)

mattlewis92 added a commit that referenced this issue Jun 13, 2018
@teodoramalec
Copy link

Hi, does this error persists? Because I'm trying this demo for calendar and I get the same issues on stackblitz.

Versions:

  • @angular/cdk 5.1.1

  • angular-calendar 0.24.1

ccc

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

3 participants