zyra / ionic-image-loader

Ionic 2+ Component that loads images in a background thread and caches them for later use
MIT License
435 stars 137 forks source link

bug: ERROR in node_modules/ionic-image-loader/dist/providers/image-loader.d.ts(3,26): error TS2307: Cannot find module 'ionic-angular'. #253

Open ctfrancia opened 5 years ago

ctfrancia commented 5 years ago

I was just following the getting started section, made sure to have the file and plugin installed. After including it in my app.module.ts and injecting it globally in app.component and now it doesn't compile, due to the error:

ERROR in node_modules/ionic-image-loader/dist/providers/image-loader.d.ts(3,26): error TS2307: Cannot find module 'ionic-angular'.

does ionic-image-loader not support ionic v4?

TiagoDamascena commented 5 years ago

Apparently the v4 support are still in beta, go to the v4 branch and follow the steps. It worked to me.

rajabmohammadi commented 5 years ago

@TiagoDamascena Thanks worked for me.