Hey Guys ,
I have faced this issue on serving a newly created project using angular cli.
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.
Solution 1:
Remove the ^ symbol from package.json from
"rxjs": "^6.0.0",
execute :
npm update
it should work fine.If this doesn't work try this:
Solution 2:
In package.json set the version of rxjs as below:
"rxjs": "6.3.3",
execute :
npm update
it should work.A working version is here click
I have faced this issue on serving a newly created project using angular cli.
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.
Solution 1:
Remove the ^ symbol from package.json from
"rxjs": "^6.0.0",
execute :
npm update
it should work fine.If this doesn't work try this:
Solution 2:
In package.json set the version of rxjs as below:
"rxjs": "6.3.3",
execute :
npm update
it should work.A working version is here click
No comments:
Post a Comment