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

前端 未结 16 937
甜味超标
甜味超标 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:30

    if you are still facing the problem, go to package.json

    1. remove rxjs and add rxjs-compat also, "rxjs-compat": "^6.4.0" to "rxjs-compat": "6.4.0",

    2. change the typscript version to 2.8

    3. run npm install

    This will work for you!

提交回复
热议问题