tnicola / ngx-joyride

Angular Joyride/Tour library
https://tnicola.github.io/ngx-joyride/
MIT License
245 stars 95 forks source link

Failed to compile on Ionic project #500

Open matadantelinga opened 2 years ago

matadantelinga commented 2 years ago

Describe the bug I got this error while importing Joyride module

Error: node_modules/ngx-joyride/lib/components/arrow/arrow.component.d.ts:4:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 4 static ɵfac: i0.ɵɵFactoryDeclaration<JoyrideArrowComponent, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/components/arrow/arrow.component.d.ts:5:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵComponentDeclaration'. [ng]
[ng] 5 static ɵcmp: i0.ɵɵComponentDeclaration<JoyrideArrowComponent, "joyride-arrow", never, { "position": "position"; }, {}, never, never>; [ng] ~~~~~~ [ng] node_modules/ngx-joyride/lib/components/button/button.component.d.ts:8:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 8 static ɵfac: i0.ɵɵFactoryDeclaration<JoyrideButtonComponent, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/components/button/button.component.d.ts:9:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵComponentDeclaration'. [ng]
[ng] 9 static ɵcmp: i0.ɵɵComponentDeclaration<JoyrideButtonComponent, "joyride-button", never, { "color": "color"; }, { "clicked": "clicked"; }, never, ["*"]>; [ng] ~~~~~~ [ng] node_modules/ngx-joyride/lib/components/close-button/close-button.component.d.ts:3:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 3 static ɵfac: i0.ɵɵFactoryDeclaration<JoyrideCloseButtonComponent, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/components/close-button/close-button.component.d.ts:4:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵComponentDeclaration'. [ng]
[ng] 4 static ɵcmp: i0.ɵɵComponentDeclaration<JoyrideCloseButtonComponent, "joy-close-button", never, {}, {}, never, never>; [ng] ~~~~~~ [ng] node_modules/ngx-joyride/lib/components/step/joyride-step.component.d.ts:101:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 101 static ɵfac: i0.ɵɵFactoryDeclaration<JoyrideStepComponent, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/components/step/joyride-step.component.d.ts:102:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵComponentDeclaration'. [ng]
[ng] 102 static ɵcmp: i0.ɵɵComponentDeclaration<JoyrideStepComponent, "joyride-step", never, { "step": "step"; }, {}, never, never>; [ng] ~~~~~~ [ng] node_modules/ngx-joyride/lib/directives/joyride.directive.d.ts:40:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 40 static ɵfac: i0.ɵɵFactoryDeclaration<JoyrideDirective, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/directives/joyride.directive.d.ts:41:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵDirectiveDeclaration'. [ng]
[ng] 41 static ɵdir: i0.ɵɵDirectiveDeclaration<JoyrideDirective, "joyrideStep, [joyrideStep]", never, { "name": "joyrideStep"; "nextStep": "nextStep"; "title": "title"; "text": "text"; "stepPosition": "stepPosition"; "stepContent": "stepContent"; "stepContentParams": "stepContentParams"; "prevTemplate": "prevTemplate"; "nextTemplate": "nextTemplate"; "doneTemplate": "doneTemplate"; "counterTemplate": "counterTemplate"; }, { "prev": "prev"; "next": "next"; "done": "done"; }, never>; [ng] ~~~~~~ [ng] node_modules/ngx-joyride/lib/joyride.module.d.ts:14:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 14 static ɵfac: i0.ɵɵFactoryDeclaration<JoyrideModule, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/joyride.module.d.ts:15:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵNgModuleDeclaration'. [ng]
[ng] 15 static ɵmod: i0.ɵɵNgModuleDeclaration<JoyrideModule, [typeof i1.JoyrideDirective, typeof i2.JoyrideStepComponent, typeof i3.JoyrideArrowComponent, typeof i4.JoyrideButtonComponent, typeof i5.JoyrideCloseButtonComponent], [typeof i6.CommonModule, typeof i7.RouterModule], [typeof i1.JoyrideDirective]>; [ng] ~~~~~ [ng] node_modules/ngx-joyride/lib/joyride.module.d.ts:16:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectorDeclaration'. [ng]
[ng] 16 static ɵinj: i0.ɵɵInjectorDeclaration; [ng] ~~~~~ [ng] node_modules/ngx-joyride/lib/services/document.service.d.ts:36:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 36 static ɵfac: i0.ɵɵFactoryDeclaration<DocumentService, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/services/document.service.d.ts:37:22 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'. [ng]
[ng] 37 static ɵprov: i0.ɵɵInjectableDeclaration; [ng] ~~~~~~~ [ng] node_modules/ngx-joyride/lib/services/dom.service.d.ts:9:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 9 static ɵfac: i0.ɵɵFactoryDeclaration<DomRefService, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/services/dom.service.d.ts:10:22 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'. [ng]
[ng] 10 static ɵprov: i0.ɵɵInjectableDeclaration; [ng] ~~~~~~~ [ng] node_modules/ngx-joyride/lib/services/event-listener.service.d.ts:22:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 22 static ɵfac: i0.ɵɵFactoryDeclaration<EventListenerService, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/services/event-listener.service.d.ts:23:22 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'. [ng]
[ng] 23 static ɵprov: i0.ɵɵInjectableDeclaration; [ng] ~~~~~~~ [ng] node_modules/ngx-joyride/lib/services/joyride-backdrop.service.d.ts:41:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 41 static ɵfac: i0.ɵɵFactoryDeclaration<JoyrideBackdropService, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/services/joyride-backdrop.service.d.ts:42:22 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'. [ng]
[ng] 42 static ɵprov: i0.ɵɵInjectableDeclaration; [ng] ~~~~~~~ [ng] node_modules/ngx-joyride/lib/services/joyride-options.service.d.ts:51:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 51 static ɵfac: i0.ɵɵFactoryDeclaration<JoyrideOptionsService, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/services/joyride-options.service.d.ts:52:22 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'. [ng]
[ng] 52 static ɵprov: i0.ɵɵInjectableDeclaration; [ng] ~~~~~~~ [ng] node_modules/ngx-joyride/lib/services/joyride-step.service.d.ts:58:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 58 static ɵfac: i0.ɵɵFactoryDeclaration<JoyrideStepService, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/services/joyride-step.service.d.ts:59:22 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'. [ng]
[ng] 59 static ɵprov: i0.ɵɵInjectableDeclaration; [ng] ~~~~~~~ [ng] node_modules/ngx-joyride/lib/services/joyride-steps-container.service.d.ts:28:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 28 static ɵfac: i0.ɵɵFactoryDeclaration<JoyrideStepsContainerService, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/services/joyride-steps-container.service.d.ts:29:22 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'. [ng]
[ng] 29 static ɵprov: i0.ɵɵInjectableDeclaration; [ng] ~~~~~~~ [ng] node_modules/ngx-joyride/lib/services/joyride.service.d.ts:17:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 17 static ɵfac: i0.ɵɵFactoryDeclaration<JoyrideService, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/services/joyride.service.d.ts:18:22 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'. [ng]
[ng] 18 static ɵprov: i0.ɵɵInjectableDeclaration; [ng] ~~~~~~~ [ng] node_modules/ngx-joyride/lib/services/logger.service.d.ts:10:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 10 static ɵfac: i0.ɵɵFactoryDeclaration<LoggerService, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/services/logger.service.d.ts:11:22 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'. [ng]
[ng] 11 static ɵprov: i0.ɵɵInjectableDeclaration; [ng] ~~~~~~~ [ng] node_modules/ngx-joyride/lib/services/step-drawer.service.d.ts:12:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 12 static ɵfac: i0.ɵɵFactoryDeclaration<StepDrawerService, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/services/step-drawer.service.d.ts:13:22 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'. [ng]
[ng] 13 static ɵprov: i0.ɵɵInjectableDeclaration; [ng] ~~~~~~~ [ng] node_modules/ngx-joyride/lib/services/templates.service.d.ts:16:21 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. [ng]
[ng] 16 static ɵfac: i0.ɵɵFactoryDeclaration<TemplatesService, never>; [ng] ~~~~ [ng] node_modules/ngx-joyride/lib/services/templates.service.d.ts:17:22 - error TS2694: Namespace '"/Applications/MAMP/htdocs/naturehub-webapp/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'. [ng]
[ng] 17 static ɵprov: i0.ɵɵInjectableDeclaration;

Details (please complete the following information):

luisuribemoreira commented 2 years ago

I tried to install it today and got the same problem.

julian-stephens commented 2 years ago

Also having this issue after trying to install today.

hcassar93 commented 2 years ago

Having same issue

tishun commented 2 years ago

FWIW downgrading to 2.4.0 fixed the problem for me

yutikatz commented 1 year ago

I have same problem