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: export 'ɵɵFactoryTarget' (imported as 'i0') was not found in '@angular/core' #153

Open
jagannathgouda97 opened this issue Dec 6, 2021 · 5 comments

Comments

@jagannathgouda97
Copy link

jagannathgouda97 commented Dec 6, 2021

I am getting below error after installing the latest ng2-tooltip-directive.

ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 164:194-212
"export 'ɵɵFactoryTarget' (imported as 'i0') was not found in '@angular/core'
ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 612:313-331
"export 'ɵɵFactoryTarget' (imported as 'i0') was not found in '@angular/core'
ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 753:139-157
"export 'ɵɵFactoryTarget' (imported as 'i0') was not found in '@angular/core'
ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 166:0-27
"export 'ɵɵngDeclareClassMetadata' (imported as 'i0') was not found in '@angular/core'
ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 614:0-27
"export 'ɵɵngDeclareClassMetadata' (imported as 'i0') was not found in '@angular/core'
ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 759:0-27
"export 'ɵɵngDeclareClassMetadata' (imported as 'i0') was not found in '@angular/core'
ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 165:24-47
"export 'ɵɵngDeclareComponent' (imported as 'i0') was not found in '@angular/core'
ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 613:24-47
"export 'ɵɵngDeclareDirective' (imported as 'i0') was not found in '@angular/core'
ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 164:24-45
"export 'ɵɵngDeclareFactory' (imported as 'i0') was not found in '@angular/core'
ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 612:24-45
"export 'ɵɵngDeclareFactory' (imported as 'i0') was not found in '@angular/core'
ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 753:21-42
"export 'ɵɵngDeclareFactory' (imported as 'i0') was not found in '@angular/core'
ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 756:21-43
"export 'ɵɵngDeclareInjector' (imported as 'i0') was not found in '@angular/core'
ERROR in ./node_modules/ng2-tooltip-directive/fesm2015/ng2-tooltip-directive.js 754:21-43
"export 'ɵɵngDeclareNgModule' (imported as 'i0') was not found in '@angular/core'

Angular version: 8.2.14
ng2-tooltip-directive version: 2.10.3

Do I need to upgrade Angular to use to use the latest ng2-tooltip-directive library? Any suggestion?

@degysnet
Copy link

degysnet commented Dec 7, 2021

I'm having the same issues with version 11.2.11

@markb-trustifi
Copy link

markb-trustifi commented Dec 13, 2021

I have the same issue with ɵɵFactoryDeclaration:

static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "tooltip", never, { "data": "data"; "show": "show"; }, {}, never, never>;

@xsh2047
Copy link

xsh2047 commented Jan 19, 2022

@madmacc
Copy link

madmacc commented Mar 2, 2022

Install an earlier version. [2.9.22] fixes this.

@zaid8369950
Copy link

i also have same issue but u upgrade your angularcore and angularCli then the issue was gone.

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