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

报错

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

错误原因:可能是rxjs版本问题造成的

解决办法参考:https://github.com/ReactiveX/rxjs/issues/4540

法一:

Change to from rxjs 6.4.0 TO "rxjs": "6.0.0"

npm install [email protected] --save

法二

"rxjs": "^6.0.0" change "rxjs": "6.0.0"
and next go to terminal
and install npm using this command "npm i"

你可能感兴趣的:(ERROR in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';' expected)