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

Slider is failing to initialize in Angular 9 #16

Closed
JohKC opened this issue Feb 15, 2020 · 4 comments
Closed

Slider is failing to initialize in Angular 9 #16

JohKC opened this issue Feb 15, 2020 · 4 comments

Comments

@JohKC
Copy link

JohKC commented Feb 15, 2020

I've been trying to make Tiny Slider work in an Angular 9 project, but the browser gives me this error:

core.js:5845 ERROR TypeError: Cannot read property 'nativeElement' of undefined
    at NgxTinySliderService.initSlider (ngx-tiny-slider.js:26)
    at NgxTinySliderComponent.initSlider (ngx-tiny-slider.js:113)
    at NgxTinySliderComponent.ngOnInit (ngx-tiny-slider.js:78)
    at callHook (core.js:3909)
    at callHooks (core.js:3873)
    at executeInitAndCheckHooks (core.js:3814)
    at refreshView (core.js:11723)
    at refreshComponent (core.js:13145)
    at refreshChildComponents (core.js:11436)
    at refreshView (core.js:11757)

I did everything according to the Usage Example, but it just doesn't work (it works in Angular 8, though).

@ChrisLang
Copy link

sigh!

@vdanyliv
Copy link
Owner

vdanyliv commented Apr 1, 2020

Hi @JohKC @ChrisLang, thanks for raising the issue, at this moment I'm pretty busy and don't have much time to support the project. I plan to release a new version that supports Angular 8 at the end of this week.

@glani
Copy link

glani commented Apr 11, 2020

Any news ? Faced the same issue.

@vdanyliv
Copy link
Owner

@glani @ChrisLang @JohKC please upgrade your module to the latest version

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

4 participants