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

Ionic 4 Cannot find module 'ionic-angular' #3

Open
hsnbrji opened this issue Sep 24, 2018 · 5 comments
Open

Ionic 4 Cannot find module 'ionic-angular' #3

hsnbrji opened this issue Sep 24, 2018 · 5 comments

Comments

@hsnbrji
Copy link

hsnbrji commented Sep 24, 2018

This package is not working in Ionic 4.

[ng] ERROR in node_modules/@angular/platform-browser/animations/src/providers.d.ts(8,119): error TS2305: Module '"C:/Users/hassan.bourji/WebstormProjects/MerchantPortalIonic/MerchantPortal/node_modules/@angula r/animations/browser"' has no exported member 'ɵCssKeyframesDriver'. [ng] node_modules/ionic-tooltips/dist/tooltip.directive.d.ts(2,26): error TS2307: Cannot find module 'ionic-angular'.

Tried adding ionic-angular to my packages, another error was thrown

[ng] node_modules/ionic-angular/umd/components/input/input.d.ts(3,10): error TS2305: Module '"C:/Users/hassan.bourji/WebstormProjects/MerchantPortalIonic/MerchantPortal/node_modules/rxjs/Subject"' has no expor ted member 'Subject'. [ng] node_modules/ionic-angular/umd/components/tabs/tabs.d.ts(2,10): error TS2305: Module '"C:/Users/hassan.bourji/WebstormProjects/MerchantPortalIonic/MerchantPortal/node_modules/rxjs/Subject"' has no exporte d member 'Subject'. [ng] node_modules/rxjs/Subject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Subject

I guess this package is still not compatible with ionic 4. Will it be updated anytime soon?

@jbarog
Copy link

jbarog commented Oct 15, 2018

Same thing here

@not-a-designer
Copy link

i manually changed the imports in this package from 'ionic-angular' to '@ionic/angular' and that fixed that specific error. I believe its in tooltip-directive,
But now I am running into this error

ERROR TypeError: Cannot read property 'createComponent' of undefined
    at Tooltip.push../node_modules/ionic-tooltips/dist/tooltip.directive.js.Tooltip._createTooltipComponent (tooltip.directive.js:171)
    at Tooltip.push../node_modules/ionic-tooltips/dist/tooltip.directive.js.Tooltip.showTooltip (tooltip.directive.js:119)
    at Tooltip.push../node_modules/ionic-tooltips/dist/tooltip.directive.js.Tooltip.trigger (tooltip.directive.js:105)
    at Tooltip.push../node_modules/ionic-tooltips/dist/tooltip.directive.js.Tooltip.onClick (tooltip.directive.js:150)
    at Object.eval [as handleEvent] (TabsPage.html:6)
    at handleEvent (core.js:19545)
    at callWithDebugContext (core.js:20639)
    at Object.debugHandleEvent [as handleEvent] (core.js:20342)
    at dispatchEvent (core.js:16994)
    at core.js:17441

any insight @ihadeed ?

@Atto75
Copy link

Atto75 commented Jun 13, 2019

ionic-angular
make
ionic/angular

@vishalkumarmg1
Copy link

instead of this : import { Firebase } from '@ionic-native/firebase';

try this : import { Firebase } from '@ionic-native/firebase/ngx';

@jrquick17
Copy link

You have to use version 4+ for Ionic 4.

npm i [email protected] --save

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

6 participants