The present error appeared after executing my project of angular in another computer, the way in which it was installed was only with a npm install to then execute ng serve.
I have eliminated cache, downloaded the version of npm that was in 6.1.4 to 5.6.0 since it was like this when it worked, removing node_modules to reinstall. I installed angular / materials and angular / cdk separately or together and the error continues.
If someone has happened to him or knows how to help me, I thank him in advance.
I will leave the error and the library versions
ng serve:
ERROR in node_modules/@angular/cdk/table/typings/cell.d.ts(41,47): error TS1005: ',' expected.
node_modules/@angular/cdk/table/typings/cell.d.ts(41,85): error TS1005: '(' expected.
node_modules/@angular/cdk/table/typings/cell.d.ts(41,110): error TS1005: ')' expected.
node_modules/@angular/cdk/table/typings/row.d.ts(40,50): error TS1005: ',' expected.
node_modules/@angular/cdk/table/typings/row.d.ts(40,88): error TS1005: '(' expected.
node_modules/@angular/cdk/table/typings/row.d.ts(40,116): error TS1005: ')' expected.
node_modules/@angular/cdk/table/typings/row.d.ts(52,50): error TS1005: ',' expected.
node_modules/@angular/cdk/table/typings/row.d.ts(52,88): error TS1005: '(' expected.
node_modules/@angular/cdk/table/typings/row.d.ts(52,116): error TS1005: ')' expected.
node_modules/@angular/material/autocomplete/typings/autocomplete.d.ts(26,55): error TS1005: ',' expected.
node_modules/@angular/material/autocomplete/typings/autocomplete.d.ts(26,126): error TS1005: '(' expected.
node_modules/@angular/material/autocomplete/typings/autocomplete.d.ts(26,154): error TS1005: ')' expected.
node_modules/@angular/material/button-toggle/typings/button-toggle.d.ts(17,60): error TS1005: ',' expected.
node_modules/@angular/material/button-toggle/typings/button-toggle.d.ts(17,125): error TS1005: '(' expected.
node_modules/@angular/material/button-toggle/typings/button-toggle.d.ts(17,158): error TS1005: ')' expected.
node_modules/@angular/material/button-toggle/typings/button-toggle.d.ts(117,55): error TS1005: ',' expected.
node_modules/@angular/material/button-toggle/typings/button-toggle.d.ts(117,126): error TS1005: '(' expected.
node_modules/@angular/material/button-toggle/typings/button-toggle.d.ts(117,154): error TS1005: ')' expected.
node_modules/@angular/material/button/typings/button.d.ts(17,49): error TS1005: ',' expected.
node_modules/@angular/material/button/typings/button.d.ts(17,112): error TS1005: '(' expected.
node_modules/@angular/material/button/typings/button.d.ts(17,185): error TS1005: '(' expected.
node_modules/@angular/material/button/typings/button.d.ts(17,264): error TS1005: '(' expected.
node_modules/@angular/material/button/typings/button.d.ts(17,286): error TS1005: ')' expected.
node_modules/@angular/material/checkbox/typings/checkbox.d.ts(45,51): error TS1005: ',' expected.
node_modules/@angular/material/checkbox/typings/checkbox.d.ts(45,117): error TS1005: '(' expected.
node_modules/@angular/material/checkbox/typings/checkbox.d.ts(45,188): error TS1005: '(' expected.
node_modules/@angular/material/checkbox/typings/checkbox.d.ts(45,267): error TS1005: '(' expected.
node_modules/@angular/material/checkbox/typings/checkbox.d.ts(45,340): error TS1005: '(' expected.
node_modules/@angular/material/checkbox/typings/checkbox.d.ts(45,364): error TS1005: ')' expected.
node_modules/@angular/material/chips/typings/chip-list.d.ts(29,51): error TS1005: ',' expected.
node_modules/@angular/material/chips/typings/chip-list.d.ts(29,125): error TS1005: '(' expected.
node_modules/@angular/material/chips/typings/chip-list.d.ts(29,149): error TS1005: ')' expected.
node_modules/@angular/material/chips/typings/chip.d.ts(39,47): error TS1005: ',' expected.
node_modules/@angular/material/chips/typings/chip.d.ts(39,110): error TS1005: '(' expected.
node_modules/@angular/material/chips/typings/chip.d.ts(39,189): error TS1005: '(' expected.
node_modules/@angular/material/chips/typings/chip.d.ts(39,262): error TS1005: '(' expected.
node_modules/@angular/material/chips/typings/chip.d.ts(39,282): error TS1005: ')' expected.
node_modules/@angular/material/core/typings/option/optgroup.d.ts(12,51): error TS1005: ',' expected.
node_modules/@angular/material/core/typings/option/optgroup.d.ts(12,111): error TS1005: '(' expected.
node_modules/@angular/material/core/typings/option/optgroup.d.ts(12,135): error TS1005: ')' expected.
node_modules/@angular/material/datepicker/typings/datepicker-input.d.ts(106,31): error TS1144: '{' or ';' expected.
node_modules/@angular/material/datepicker/typings/datepicker-input.d.ts(108,14): error TS1005: ';' expected.
node_modules/@angular/material/datepicker/typings/datepicker-input.d.ts(108,20): error TS1109: Expression expected.
node_modules/@angular/material/datepicker/typings/datepicker-input.d.ts(110,5): error TS1128: Declaration or statement expected.
node_modules/@angular/material/datepicker/typings/datepicker-input.d.ts(115,5): error TS1128: Declaration or statement expected.
node_modules/@angular/material/datepicker/typings/datepicker-input.d.ts(116,1): error TS1128: Declaration or statement expected.
node_modules/@angular/material/datepicker/typings/datepicker.d.ts(32,60): error TS1005: ',' expected.
node_modules/@angular/material/datepicker/typings/datepicker.d.ts(32,123): error TS1005: '(' expected.
node_modules/@angular/material/datepicker/typings/datepicker.d.ts(32,156): error TS1005: ')' expected.
node_modules/@angular/material/form-field/typings/form-field.d.ts(31,52): error TS1005: ',' expected.
node_modules/@angular/material/form-field/typings/form-field.d.ts(31,115): error TS1005: '(' expected.
node_modules/@angular/material/form-field/typings/form-field.d.ts(31,140): error TS1005: ')' expected.
node_modules/@angular/material/icon/typings/icon.d.ts(16,47): error TS1005: ',' expected.
node_modules/@angular/material/icon/typings/icon.d.ts(16,110): error TS1005: '(' expected.
node_modules/@angular/material/icon/typings/icon.d.ts(16,130): error TS1005: ')' expected.
node_modules/@angular/material/input/typings/input.d.ts(26,48): error TS1005: ',' expected.
node_modules/@angular/material/input/typings/input.d.ts(26,122): error TS1005: '(' expected.
node_modules/@angular/material/input/typings/input.d.ts(26,143): error TS1005: ')' expected.
node_modules/@angular/material/list/typings/list.d.ts(13,47): error TS1005: ',' expected.
node_modules/@angular/material/list/typings/list.d.ts(13,118): error TS1005: '(' expected.
node_modules/@angular/material/list/typings/list.d.ts(13,138): error TS1005: ')' expected.
node_modules/@angular/material/list/typings/list.d.ts(17,51): error TS1005: ',' expected.
node_modules/@angular/material/list/typings/list.d.ts(17,122): error TS1005: '(' expected.
node_modules/@angular/material/list/typings/list.d.ts(17,146): error TS1005: ')' expected.
node_modules/@angular/material/list/typings/selection-list.d.ts(17,56): error TS1005: ',' expected.
node_modules/@angular/material/list/typings/selection-list.d.ts(17,127): error TS1005: '(' expected.
node_modules/@angular/material/list/typings/selection-list.d.ts(17,156): error TS1005: ')' expected.
node_modules/@angular/material/list/typings/selection-list.d.ts(21,53): error TS1005: ',' expected.
node_modules/@angular/material/list/typings/selection-list.d.ts(21,124): error TS1005: '(' expected.
node_modules/@angular/material/list/typings/selection-list.d.ts(21,150): error TS1005: ')' expected.
node_modules/@angular/material/menu/typings/menu-item.d.ts(16,51): error TS1005: ',' expected.
node_modules/@angular/material/menu/typings/menu-item.d.ts(16,122): error TS1005: '(' expected.
node_modules/@angular/material/menu/typings/menu-item.d.ts(16,195): error TS1005: '(' expected.
node_modules/@angular/material/menu/typings/menu-item.d.ts(16,219): error TS1005: ')' expected.
node_modules/@angular/material/paginator/typings/paginator.d.ts(31,47): error TS1005: ',' expected.
node_modules/@angular/material/paginator/typings/paginator.d.ts(31,116): error TS1005: '(' expected.
node_modules/@angular/material/paginator/typings/paginator.d.ts(31,141): error TS1005: ')' expected.
node_modules/@angular/material/progress-bar/typings/progress-bar.d.ts(19,54): error TS1005: ',' expected.
node_modules/@angular/material/progress-bar/typings/progress-bar.d.ts(19,117): error TS1005: '(' expected.
node_modules/@angular/material/progress-bar/typings/progress-bar.d.ts(19,144): error TS1005: ')' expected.
node_modules/@angular/material/progress-spinner/typings/progress-spinner.d.ts(18,58): error TS1005: ',' expected.
node_modules/@angular/material/progress-spinner/typings/progress-spinner.d.ts(18,121): error TS1005: '(' expected.
node_modules/@angular/material/progress-spinner/typings/progress-spinner.d.ts(18,152): error TS1005: ')' expected.
node_modules/@angular/material/radio/typings/radio.d.ts(34,53): error TS1005: ',' expected.
node_modules/@angular/material/radio/typings/radio.d.ts(34,118): error TS1005: '(' expected.
node_modules/@angular/material/radio/typings/radio.d.ts(34,144): error TS1005: ')' expected.
node_modules/@angular/material/radio/typings/radio.d.ts(136,54): error TS1005: ',' expected.
node_modules/@angular/material/radio/typings/radio.d.ts(136,117): error TS1005: '(' expected.
node_modules/@angular/material/radio/typings/radio.d.ts(136,196): error TS1005: '(' expected.
node_modules/@angular/material/radio/typings/radio.d.ts(136,270): error TS1005: '(' expected.
node_modules/@angular/material/radio/typings/radio.d.ts(136,297): error TS1005: ')' expected.
node_modules/@angular/material/select/typings/select.d.ts(75,49): error TS1005: ',' expected.
node_modules/@angular/material/select/typings/select.d.ts(75,120): error TS1005: '(' expected.
node_modules/@angular/material/select/typings/select.d.ts(75,194): error TS1005: '(' expected.
node_modules/@angular/material/select/typings/select.d.ts(75,267): error TS1005: '(' expected.
node_modules/@angular/material/select/typings/select.d.ts(75,349): error TS1005: '(' expected.
node_modules/@angular/material/select/typings/select.d.ts(75,371): error TS1005: ')' expected.
node_modules/@angular/material/slide-toggle/typings/slide-toggle.d.ts(33,54): error TS1005: ',' expected.
node_modules/@angular/material/slide-toggle/typings/slide-toggle.d.ts(33,120): error TS1005: '(' expected.
node_modules/@angular/material/slide-toggle/typings/slide-toggle.d.ts(33,191): error TS1005: '(' expected.
node_modules/@angular/material/slide-toggle/typings/slide-toggle.d.ts(33,270): error TS1005: '(' expected.
node_modules/@angular/material/slide-toggle/typings/slide-toggle.d.ts(33,343): error TS1005: '(' expected.
node_modules/@angular/material/slide-toggle/typings/slide-toggle.d.ts(33,370): error TS1005: ')' expected.
node_modules/@angular/material/slider/typings/slider.d.ts(30,49): error TS1005: ',' expected.
node_modules/@angular/material/slider/typings/slider.d.ts(30,115): error TS1005: '(' expected.
node_modules/@angular/material/slider/typings/slider.d.ts(30,186): error TS1005: '(' expected.
node_modules/@angular/material/slider/typings/slider.d.ts(30,259): error TS1005: '(' expected.
node_modules/@angular/material/slider/typings/slider.d.ts(30,281): error TS1005: ')' expected.
node_modules/@angular/material/sort/typings/sort-header.d.ts(17,53): error TS1005: ',' expected.
node_modules/@angular/material/sort/typings/sort-header.d.ts(17,118): error TS1005: '(' expected.
node_modules/@angular/material/sort/typings/sort-header.d.ts(17,144): error TS1005: ')' expected.
node_modules/@angular/material/sort/typings/sort.d.ts(31,47): error TS1005: ',' expected.
node_modules/@angular/material/sort/typings/sort.d.ts(31,116): error TS1005: '(' expected.
node_modules/@angular/material/sort/typings/sort.d.ts(31,189): error TS1005: '(' expected.
node_modules/@angular/material/sort/typings/sort.d.ts(31,209): error TS1005: ')' expected.
node_modules/@angular/material/tabs/typings/tab-group.d.ts(26,51): error TS1005: ',' expected.
node_modules/@angular/material/tabs/typings/tab-group.d.ts(26,114): error TS1005: '(' expected.
node_modules/@angular/material/tabs/typings/tab-group.d.ts(26,193): error TS1005: '(' expected.
node_modules/@angular/material/tabs/typings/tab-group.d.ts(26,217): error TS1005: ')' expected.
node_modules/@angular/material/tabs/typings/tab-header.d.ts(23,52): error TS1005: ',' expected.
node_modules/@angular/material/tabs/typings/tab-header.d.ts(23,123): error TS1005: '(' expected.
node_modules/@angular/material/tabs/typings/tab-header.d.ts(23,148): error TS1005: ')' expected.
node_modules/@angular/material/tabs/typings/tab-label-wrapper.d.ts(13,58): error TS1005: ',' expected.
node_modules/@angular/material/tabs/typings/tab-label-wrapper.d.ts(13,123): error TS1005: '(' expected.
node_modules/@angular/material/tabs/typings/tab-label-wrapper.d.ts(13,154): error TS1005: ')' expected.
node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts(20,49): error TS1005: ',' expected.
node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts(20,123): error TS1005: '(' expected.
node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts(20,197): error TS1005: '(' expected.
node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts(20,219): error TS1005: ')' expected.
node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts(55,50): error TS1005: ',' expected.
node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts(55,119): error TS1005: '(' expected.
node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts(55,201): error TS1005: '(' expected.
node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts(55,277): error TS1005: '(' expected.
node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts(55,300): error TS1005: ')' expected.
node_modules/@angular/material/tabs/typings/tab.d.ts(16,46): error TS1005: ',' expected.
node_modules/@angular/material/tabs/typings/tab.d.ts(16,111): error TS1005: '(' expected.
node_modules/@angular/material/tabs/typings/tab.d.ts(16,130): error TS1005: ')' expected.
node_modules/@angular/material/toolbar/typings/toolbar.d.ts(16,50): error TS1005: ',' expected.
node_modules/@angular/material/toolbar/typings/toolbar.d.ts(16,113): error TS1005: '(' expected.
node_modules/@angular/material/toolbar/typings/toolbar.d.ts(16,136): error TS1005: ')' expected.
node_modules/@angular/material/tree/typings/node.d.ts(13,51): error TS1005: ',' expected.
node_modules/@angular/material/tree/typings/node.d.ts(13,117): error TS1005: '(' expected.
node_modules/@angular/material/tree/typings/node.d.ts(13,190): error TS1005: '(' expected.
node_modules/@angular/material/tree/typings/node.d.ts(13,210): error TS1005: ')' expected.
node_modules/@angular/material/tree/typings/node.d.ts(14,57): error TS1005: ',' expected.
node_modules/@angular/material/tree/typings/node.d.ts(14,123): error TS1005: '(' expected.
node_modules/@angular/material/tree/typings/node.d.ts(14,196): error TS1005: '(' expected.
node_modules/@angular/material/tree/typings/node.d.ts(14,222): error TS1005: ')' expected.
ng --version:
Angular CLI: 6.1.5
Node: 8.11.4
OS: win32 x64
Angular: 6.1.4
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router, service-worker
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.7.5
@angular-devkit/build-angular 0.7.5
@angular-devkit/build-optimizer 0.7.5
@angular-devkit/build-webpack 0.7.5
@angular-devkit/core 0.7.5
@angular-devkit/schematics 0.7.5
@angular/cdk 6.4.6-73d54a4
@angular/cli 6.1.5
@angular/material 6.4.6-73d54a4
@angular/pwa 0.7.5
@ngtools/webpack 6.1.5
@schematics/angular 0.7.5
@schematics/update 0.7.5
rxjs 6.2.2
typescript 2.7.2
webpack 4.9.2
npm version:
{ violet: '0.0.0',
npm: '5.6.0',
ares: '1.10.1-DEV',
cldr: '32.0',
http_parser: '2.8.0',
icu: '60.1',
modules: '57',
napi: '3',
nghttp2: '1.32.0',
node: '8.11.4',
openssl: '1.0.2p',
tz: '2017c',
unicode: '10.0',
uv: '1.19.1',
v8: '6.2.414.54',
zlib: '1.2.11' }