ng2-tooltip-directive
ng2-tooltip-directive copied to clipboard
Error: export 'ɵɵFactoryTarget' (imported as 'i0') was not found in '@angular/core'
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?
I'm having the same issues with version 11.2.11
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>;
See if this helps @jagannathgouda97 https://stackoverflow.com/questions/68509988/unable-to-do-npm-start
Install an earlier version. [2.9.22] fixes this.