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

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

    Just do the one changes in package.json file

    "rxjs": "^6.0.0",
    

    Just delete the ^ like i did in the below code & update the npm(node package manager)

    "rxjs": "6.0.0",
    

    npm update

    ng serve --open

    Now file your project will start normally

提交回复
热议问题