My NPM version is 6.4.1, node version is v10.14.1, angular-cli version is 7.1.2.
When I execute npm install, I encountered the following problem:
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.
My NPM version is 6.4.1, node version is v10.14.1, angular-cli version is 7.1.2.
When I execute
npm install
, I encountered the following problem: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.
To solve this problem, I found this answer:
So I changed package.json and it works.
"rxjs": "6.2.0", "typescript": "^2.7.2",