Topic: Download and setup of PRO is failing
Etisalat_NRM free asked 4 years ago
Expected behavior
Followed all steps under https://mdbootstrap.com/docs/angular/getting-started/quick-start/
Actual behavior Getting error while running ng serve
Resources (screenshots, code snippets etc.)
ERROR in node_modules/@angular/cdk/a11y/focus-trap/configurable-focus-trap.d.ts:24:9 - error TS1086: An accessor cannot be declared in an ambient context.
24 get enabled(): boolean; ~~~~~~~ node_modules/@angular/cdk/a11y/focus-trap/configurable-focus-trap.d.ts:25:9 - error TS1086: An accessor cannot be declared in an ambient context.
25 set enabled(value: boolean); ~~~~~~~ node_modules/@angular/cdk/a11y/focus-trap/focus-trap.d.ts:32:9 - error TS1086: An accessor cannot be declared in an ambient context.
32 get enabled(): boolean; ~~~~~~~ node_modules/@angular/cdk/a11y/focus-trap/focus-trap.d.ts:33:9 - error TS1086: An accessor cannot be declared in an ambient context.
33 set enabled(value: boolean); ~~~~~~~ node_modules/@angular/cdk/a11y/focus-trap/focus-trap.d.ts:140:9 - error TS1086: An accessor cannot be declared in an ambient context.
140 get enabled(): boolean; ~~~~~~~ node_modules/@angular/cdk/a11y/focus-trap/focus-trap.d.ts:141:9 - error TS1086: An accessor cannot be declared in an ambient context.
141 set enabled(value: boolean); ~~~~~~~ node_modules/@angular/cdk/a11y/focus-trap/focus-trap.d.ts:146:9 - error TS1086: An accessor cannot be declared in an ambient context.
146 get autoCapture(): boolean; ~~~~~~~~~~~ node_modules/@angular/cdk/a11y/focus-trap/focus-trap.d.ts:147:9 - error TS1086: An accessor cannot be declared in an ambient context.
147 set autoCapture(value: boolean); ~~~~~~~~~~~ node_modules/@angular/cdk/a11y/key-manager/list-key-manager.d.ts:96:9 - error TS1086: An accessor cannot be declared in an ambient context.
96 get activeItemIndex(): number | null; ~~~~~~~~~~~~~~~ node_modules/@angular/cdk/a11y/key-manager/list-key-manager.d.ts:98:9 - error TS1086: An accessor cannot be declared in an ambient context.
98 get activeItem(): T | null; ~~~~~~~~~~ node_modules/@angular/cdk/a11y/live-announcer/live-announcer.d.ts:69:9 - error TS1086: An accessor cannot be declared in an ambient context.
69 get politeness(): AriaLivePoliteness; ~~~~~~~~~~ node_modules/@angular/cdk/a11y/live-announcer/live-announcer.d.ts:70:9 - error TS1086: An accessor cannot be declared in an ambient context.
70 set politeness(value: AriaLivePoliteness); ~~~~~~~~~~ node_modules/@angular/cdk/bidi/dir.d.ts:26:9 - error TS1086: An accessor cannot be declar
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 9.2.0
- Device: Laptop
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: Yes
Arkadiusz Idzikowski staff commented 4 years ago
Did you install
@angular/cdk
package? Please try to removenode_modules
folder andpackage-lock.json
file and reinstall your dependencies withnpm install
command.