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

以系統管理員身份執行 cmd,cd 到你的 Angular 專案後執行:
npm install rxjs@6.0.0 --save
將 rxjs 版本轉到 6.0.0 後再執行 ng serve 就可以順利把專案開起來了!
Good Knowledge
回覆刪除