ngx-tour: Big error when compiling!

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/ngx-tour-core/tour.service.d.ts (26,56): ',' expected.

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/ngx-tour-core/tour-hotkey-listener.component.d.ts (3,18): Generic type
'TourService<T, IStepOption>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/ngx-tour-core/tour-hotkey-listener.component.d.ts (4,30): Generic type
'TourService<T, IStepOption>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/src/app/app.component.ts (15,80): Generic type 'TourService<T, IStepOption>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/cdk/portal/typings/portal.d.ts (50,39): ',' expected.

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/cdk/portal/typings/portal.d.ts (50,41): Type parameter name cannot be 'any'

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/cdk/portal/typings/portal.d.ts (92,23): Generic type 'TemplatePortal<C, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/cdk/portal/typings/portal.d.ts (95,46): Generic type 'TemplatePortal<C, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/cdk/portal/typings/dom-portal-outlet.d.ts (34,37): Generic type 'TemplatePortal<C, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/cdk/portal/typings/portal-directives.d.ts (14,40): Generic type 'TemplatePortal<C, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/cdk/portal/typings/portal-directives.d.ts (65,37): Generic type 'TemplatePortal<C, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/cdk/overlay/typings/overlay-ref.d.ts (42,23): Generic type 'TemplatePortal<C, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog-config.d.ts (27,40): ',' expected.

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog-config.d.ts (27,42): Type parameter name cannot be 'any'

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog-container.d.ts (36,14): Generic type 'MatDialogConfig<D, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog-container.d.ts (55,37): Generic type 'TemplatePortal<C, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog-ref.d.ts (16,40): ',' expected.
ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog-ref.d.ts (16,42): Type parameter name cannot be 'any'

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog.d.ts (56,15): ',' expected.

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog.d.ts (12,65): Generic type 'MatDialogConfig<D, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog.d.ts (39,27): Generic type 'MatDialogRef<T, R, any>' requires 3 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog.d.ts (41,33): Generic type 'MatDialogRef<T, R, any>' requires 3 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog.d.ts (56,17): Type parameter name cannot be 'any'

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog.d.ts (56,90): Generic type 'MatDialogConfig<D, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog.d.ts (56,111): Generic type 'MatDialogRef<T, R, any>' requires 3 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog.d.ts (65,32): Generic type 'MatDialogRef<T, R, any>' requires 3 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog-content-directives.d.ts (15,16): Generic type 'MatDialogRef<T, R, any>' requires 3 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog-content-directives.d.ts (23,28): Generic type 'MatDialogRef<T, R, any>' requires 3 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/dialog/typings/dialog-content-directives.d.ts (35,29): Generic type 'MatDialogRef<T, R, any>' requires 3 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/expansion/typings/expansion-panel.d.ts (36,14): Generic type 'TemplatePortal<C, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/snack-bar/typings/snack-bar-config.d.ts (20,42): ','
expected.

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/snack-bar/typings/snack-bar-config.d.ts (20,44): Type parameter name cannot be 'any'

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/snack-bar/typings/snack-bar-container.d.ts (33,21): Generic type 'MatSnackBarConfig<D, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/snack-bar/typings/snack-bar.d.ts (41,64): Generic type 'MatSnackBarConfig<D, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/snack-bar/typings/snack-bar.d.ts (48,53): Generic type 'MatSnackBarConfig<D, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/tabs/typings/tab.d.ts (28,23): Generic type 'TemplatePortal<C, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/tabs/typings/tab-body.d.ts (62,15): Generic type 'TemplatePortal<C, any>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/ngx-tour-md-menu/tour-step-template.component.d.ts (7,18): Generic type 'TourService<T, IStepOption>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/ngx-tour-md-menu/tour-step-template.component.d.ts (13,80): Generic type 'TourService<T, IStepOption>' requires 2 type argument(s).

ERROR in D:/.working/_my-projects/my-ngtour/frontend/node_modules/ngx-tour-md-menu/tour-anchor.directive.d.ts (17,156): Generic type 'TourService<T, IStepOption>' requires 2 type argument(s).

ERROR in Metadata version mismatch for module D:/.working/_my-projects/my-ngtour/frontend/node_modules/@angular/material/core/typings/index.d.ts, found version 4, expected 3, resolving symbol TourMatMenuModule in D:/.working/_my-projects/my-ngtour/frontend/node_modules/ngx-tour-md-menu/ngx-tour-md-menu.d.ts, resolving symbol TourMatMenuModule in D:/.working/_my-projects/my-ngtour/frontend/node_modules/ngx-tour-md-menu/ngx-tour-md-menu.d.ts

ERROR in D:/.working/_my-projects/my-ngtour/frontend/src/app/app.component.ts (15,80): Generic type 'TourService<T, IStepOption>' requires 2 type argument(s).
webpack: Failed to compile.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 25 (9 by maintainers)

Most upvoted comments

you need to import it at the top:

import { TourMatMenuModule } from 'ngx-tour-md-menu';