node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';' expected error after installation of Angular 6

前端 未结 16 950
甜味超标
甜味超标 2020-12-22 17:15

I got an error of

node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: \';\' expected.

after the installation of Angular

16条回答
  •  滥情空心
    2020-12-22 17:35

    I had the same issue, the "rxjs": "^6.0.0" to "rxjs": "6.0.0" didn't work. I had to update my angular CLI to last stable npm install -g @angular/cli and regenerate the project again.

    My config now is :

    Angular CLI: 7.3.6
    Node: 10.15.3
    OS: win32 x64
    Angular: 7.2.9
    

提交回复
热议问题