Issue with running the ionic serve command
[ng] Error: The Angular Compiler requires TypeScript >=4.4.2 and <4.5.0 but 4.5.2 was found instead.
Attempted to downgrade typescript using:
npm install typescript@">=4.4.2 <4.5.0" --save-dev --save-exact
After running npm i
, the ionic serve
command hangs at generating browser application bundle.
Angular version details:
Angular CLI: 13.0.4
Node: 16.10.0
Package Manager: npm 8.1.4
OS: win32 x64
Angular: 13.0.3
... common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1300.4
@angular-devkit/build-angular 13.0.4
@angular-devkit/core 13.0.4
@angular-devkit/schematics 13.0.4
@angular/cli 13.0.4
@schematics/angular 13.0.4
rxjs 6.5.5
typescript 4.5.2
Need assistance with this issue, please!