After replacing pakage.json
it shows following error ...
D:\ionic\cliproject>ionic serve
> npm.cmd run ionic:serve -- --host=localhost --port=8100
[npm] >
[email protected] ionic:serve D:\ionic\cliproject
[npm] > ionic-app-scripts serve "--host=localhost" "--port=8100"
[npm] 'ionic-app-scripts' is not recognized as an internal or external command,
[npm] operable program or batch file.
[npm] npm ERR! code ELIFECYCLE
[npm] npm ERR! errno 1
[npm] npm ERR!
[email protected] ionic:serve: `ionic-app-scripts serve "--ho
st=localhost" "--port=8100"`
[npm] npm ERR! Exit status 1
[npm] npm ERR!
[npm] npm ERR! Failed at the
[email protected] ionic:serve script.
[npm] npm ERR! This is probably not a problem with npm. There is likely addition
al logging output above.
[npm] npm ERR! A complete log of this run can be found in:
[npm] npm ERR! C:\Users\ESST\AppData\Roaming\npm-cache\_logs\2019-08-30T10_3
7_17_069Z-debug.log
[ERROR] npm has unexpectedly closed (exit code 1).
The Ionic CLI will exit. Please check any output above for error
details.
D:\ionic\cliproject>