am having trouble installing and starting ionic
PS C:\Ionic\lemmt> ionic info
[ERROR] Error loading @ionic/angular package.json: Error: Cannot find module '@ionic/angular/package'
[ERROR] Error loading @ionic/angular-toolkit package.json: Error: Cannot find module '@ionic/angular-toolkit/package'
[ERROR] Error loading @angular/cli package.json: Error: Cannot find module '@angular/cli/package'
[ERROR] Error loading @angular-devkit/build-angular package.json: Error: Cannot find module
'@angular-devkit/build-angular/package'
[ERROR] Error loading @angular-devkit/schematics package.json: Error: Cannot find module
'@angular-devkit/schematics/package'
Ionic:
Ionic CLI : 5.2.0 (C:\Users\SUNDAY ETOM ENI\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : not installed
@angular-devkit/build-angular : not installed
@angular-devkit/schematics : not installed
@angular/cli : not installed
@ionic/angular-toolkit : not installed
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v10.16.0 (C:\Program Files\nodejs\node.exe)
npm : 6.9.0
OS : Windows 10
PS C:\Ionic\lemmt> ionic serve
> ng run app:serve --host=localhost --port=8100
[ng] 'ng' is not recognized as an internal or external command,
[ng] operable program or batch file.
[INFO] Looks like @angular/cli isn't installed in this project.
This package is required for this command to work properly. The package provides a CLI utility, but the ng binary
was not found in your PATH.
? Install @angular/cli? Yes
> npm.cmd i -D -E @angular/cli
npm ERR! Unexpected end of JSON input while parsing near '...vVEyQy6v5lPzMqwHS1y2m'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\SUNDAY ETOM ENI\AppData\Roaming\npm-cache\_logs\2019-06-28T15_30_44_450Z-debug.log
[ERROR] An error occurred while running subprocess npm.
npm.cmd i -D -E @angular/cli exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
I would really appreciate if someone can help me with solution on how to fix it, thanks