Whenever I try to run ng serve command getting the following error. Below is the error detail.
ng serve
ERROR in src/app/errorhandler/my-logger.service.ts(1