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

ERROR TypeError: Cannot read property 'nativeElement' of undefined #110

Open
ISCFERNANDO opened this issue Jul 19, 2020 · 3 comments
Open

Comments

@ISCFERNANDO
Copy link

En angular 10 manda error nativeElement undefined al probar el componente

@matthiasunt
Copy link

I had the same issue on Angular 9.2.1. Running npm install [email protected] fixed it.

@hnviradiya
Copy link

even in 1.3.0-beta.11 version, when image array in empty, this issue is being reproduced. so I prevented that using ngIf directive as below so that it does not initialize.

<slideshow *ngIf="imageSources.length" [imageUrls]="imageSources">
</slideshow>

@KaseRadtke
Copy link

I had the same issue on Angular 9.2.1. Running npm install [email protected] fixed it.

Ran into this issue with an Angular 12 Project upgrade, this fixed it, thanks :)!

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