Won't work with ionic 4: Cannot find module 'ionic-angular'
See original GitHub issueThe plugin breaks with ionic 4, ionic-angular
became @ionic/angular
.
Error when i try to use it:
[ng] ERROR in ./node_modules/ionic-image-loader/dist/image-loader.module.js
[ng] Module not found: Error: Can't resolve 'ionic-angular' in '/private/var/www/youchange/hibrido/node_modules/ionic-image-loader/dist'
[ng] ERROR in ./node_modules/ionic-image-loader/dist/providers/image-loader.js
[ng] Module not found: Error: Can't resolve 'ionic-angular' in '/private/var/www/youchange/hibrido/node_modules/ionic-image-loader/dist/providers'
[ng] ERROR in ./node_modules/ionic-image-loader/dist/providers/image-loader.js
[ng] Module not found: Error: Can't resolve 'rxjs/Observable' in '/private/var/www/youchange/hibrido/node_modules/ionic-image-loader/dist/providers'
[ng] ERROR in ./node_modules/ionic-image-loader/dist/providers/image-loader.js
[ng] Module not found: Error: Can't resolve 'rxjs/add/operator/first' in '/private/var/www/youchange/hibrido/node_modules/ionic-image-loader/dist/providers'
[ng] ℹ 「wdm」: Failed to compile.
[ng]
[ng] ERROR in node_modules/ionic-image-loader/dist/providers/image-loader.d.ts(4,26): error TS2307: Cannot find module 'ionic-angular'.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:26 (6 by maintainers)
Top Results From Across the Web
Cannot find module 'ionic-angular'.ts when version upgraded ...
Follow these detailed migration steps in order to upgrade from Ionic 3 to 4: https://ionicframework.com/docs/building/migration.
Read more >Cannot find module 'ionic-angular'
There is no longer 'ionic-angular' exists in ionic 4 or greater. it has been changed to '@ionic/angular'. Try to import using, import {...
Read more >Cannot find module 'ionic-angular'.ts when version upgraded ...
I have this code in Ionic 3. In Ionic 4,. Cannot find module 'ionic-angular'.ts(2307). How can I make it work in ionic 4?...
Read more >How to build an Ionic Mobile App - For Beginners
A step by step guide to building an ionic (hybrid) mobile app with video demonstration and how to avoid common errors faced during...
Read more >How to create an Ionic 5 app - For beginners - Enappd
For now, the Angular and React are well stable in Ionic Community and widely used in the industry but the Ionic Vue is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try import { NavController } from ‘@ionic/angular’;
instead of import { NavController } from ‘ionic-angular’
Is this issue solved ? now am getting
Cannot find module '@ionic/angular'.
...ectable/src/app/components/ionic-selectable/ionic-selectable-page.component.d.ts
import { Content, InfiniteScroll, NavParams } from '@ionic/angular';