Repository: apache/hertzbeat (language: java)

Issue:
[BUG] Failed to compile
### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

Clone the master branch to the local, run the front-end project, and throw a compilation exception.

### Expected Behavior

The expectation is to be able to compile and run the front-end project normally.

### Steps To Reproduce

1. system: win11, node: v20.11.1, npm: 10.2.4, yarn: 1.22.21
2. cd web-app
3. yarn install
4. yarn run ng serve --open

### Environment

```markdown
HertzBeat version(s): master
```


### Debug logs

```
C:\kerwin612\.home\.ws\hertzbeat\web-app>yarn install
yarn install v1.22.21
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@angular-eslint/eslint-plugin > @typescript-eslint/utils@7.11.0" has incorrect peer dependency "eslint@^8.56.0".
warning "@angular-eslint/eslint-plugin-template > @typescript-eslint/type-utils@7.11.0" has incorrect peer dependency "eslint@^8.56.0".
warning " > @typescript-eslint/eslint-plugin@7.8.0" has incorrect peer dependency "eslint@^8.56.0".
warning "@typescript-eslint/eslint-plugin > @typescript-eslint/type-utils@7.8.0" has incorrect peer dependency "eslint@^8.56.0".
warning "@typescript-eslint/eslint-plugin > @typescript-eslint/utils@7.8.0" has incorrect peer dependency "eslint@^8.56.0".
warning " > @typescript-eslint/parser@7.8.0" has incorrect peer dependency "eslint@^8.56.0".
warning " > eslint-plugin-deprecation@1.3.3" has incorrect peer dependency "typescript@^3.7.5 || ^4.0.0".
[4/4] Building fresh packages...
Done in 120.94s.

C:\kerwin612\.home\.ws\hertzbeat\web-app>yarn run ng serve --open
yarn run v1.22.21
$ ng serve --open
√ Browser application bundle generation complete.

Initial chunk files   | Names         |  Raw size
styles.css, styles.js | styles        |   1.12 MB | 
polyfills.js          | polyfills     | 231.11 kB | 
vendor.js             | vendor        | 230.13 kB | 
scripts.js            | scripts       | 127.38 kB | 
runtime.js            | runtime       |   6.53 kB | 
main.js               | main          |   1.14 kB | 

                      | Initial total |   1.70 MB

Build at: 2024-06-20T07:42:57.965Z - Hash: 80082de11675a21f - Time: 31676ms

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/app.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/app.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/core/core.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/core/guard/detect-auth-guard.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/core/index.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/core/interceptor/default.interceptor.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/core/i18n/i18n.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/core/module-import-guard.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/core/startup/startup.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/global-config.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/layout/basic/basic.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/layout/basic/widgets/clear-storage.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/layout/basic/widgets/fullscreen.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/layout/basic/widgets/i18n.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/layout/basic/widgets/notify.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/layout/basic/widgets/search.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/layout/basic/widgets/user.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/layout/blank/blank.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/layout/layout.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/layout/passport/passport.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/Alert.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/AlertConverge.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/AlertDefine.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/AlertDefineBind.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/AlertSilence.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/AppCount.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/Collector.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/CollectorSummary.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/EmailNoticeSender.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/Message.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/Monitor.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/NoticeReceiver.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/NoticeRule.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/NoticeTemplate.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/ObjectStore.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/Page.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/Param.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/ParamDefine.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/StatusPageComponent.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/StatusPageComponentStatus.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/StatusPageHistory.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/StatusPageIncident.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/StatusPageIncidentContent.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/StatusPageOrg.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/SystemConfig.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/pojo/Tag.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/alert/alert-center/alert-center.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/alert/alert-converge/alert-converge.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/alert/alert-notice/alert-notice.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/alert/alert-routing.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/alert/alert-setting/alert-setting.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/alert/alert-silence/alert-silence.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/alert/alert.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/dashboard/dashboard.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/exception/exception-routing.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/exception/exception.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/exception/exception.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/monitor/monitor-edit/monitor-edit.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/monitor/monitor-list/monitor-list.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/monitor/monitor-new/monitor-new.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/monitor/monitor-routing.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/monitor/monitor.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/passport/lock/lock.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/passport/login/login.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/routes-routing.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/routes.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/setting/collector/collector.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/setting/define/define.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/setting/setting-routing.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/setting/setting.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/setting/settings/message-server/message-server.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/setting/settings/object-store/object-store.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/setting/settings/settings.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/setting/settings/system-config/system-config.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/setting/status/status.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/setting/tags/tags.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/routes/status-public/status-public.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/alert-converge.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/alert-define.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/alert-silence.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/alert.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/app-define.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/auth.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/collector.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/general-config.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/local-storage.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/memory-storage.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/monitor.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/notice-receiver.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/notice-rule.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/notice-template.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/status-page-public.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/status-page.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/service/tag.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/components/help-massage-show/help-massage-show.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/components/key-value-input/key-value-input.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/components/metrics-field-input/metrics-field-input.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/constants.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/index.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/json-schema/json-schema.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/json-schema/test/test.widget.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/pipe/elapsed-time.pipe.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/pipe/i18n-else.pipe.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/pipe/timezone.pipe.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/shared-delon.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/shared-zorro.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/shared.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/app/shared/utils/common-util.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/environments/environment.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/main.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/polyfills.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/style-icons-auto.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/kerwin612/.home/.ws/hertzbeat/web-app/src/style-icons.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.



F:\.env\.win\ws\hertzbeat\web-app\src\main.ts - Error: Module build failed (from F:\.env\.win\ws\hertzbeat\web-app\node_modules\@ngtools\webpack\src\ivy\index.js):
Error: F:\.env\.win\ws\hertzbeat\web-app\src\main.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.

F:\.env\.win\ws\hertzbeat\web-app\src\polyfills.ts - Error: Module build failed (from F:\.env\.win\ws\hertzbeat\web-app\node_modules\@ngtools\webpack\src\ivy\index.js):
Error: F:\.env\.win\ws\hertzbeat\web-app\src\polyfills.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.



** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **


× Failed to compile.

```

### Anything else?

_No response_


Discussion / hints:

Fix patch:
diff --git a/web-app/angular.json b/web-app/angular.json
index 9533f0bd827..bca121a4244 100644
--- a/web-app/angular.json
+++ b/web-app/angular.json
@@ -20,6 +20,7 @@
         "build": {
           "builder": "@angular-devkit/build-angular:browser",
           "options": {
+            "preserveSymlinks": true,
             "outputPath": "dist",
             "index": "src/index.html",
             "main": "src/main.ts",


Test patch: