发布于 4年前

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 rxjs@6.0.0 --save

法二

"rxjs": "^6.0.0" change "rxjs": "6.0.0"
and next go to terminal
and install npm using this command "npm i"
©2020 edoou.com   京ICP备16001874号-3