Я использую Angular 7 в своем приложении.Теперь я создал несколько проектов в родительском проекте, но у меня возникают следующие проблемы при запуске ng serve.
ERROR in ./projects/app2/src/app/issues-management/issue-management.module.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: D:\my-app\projects\app2\src\app\issues-management\issue-management.module.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
at AngularCompilerPlugin.getCompiledFile (D:\my-app\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:752:23)
at plugin.done.then (D:\my-app\node_modules\@ngtools\webpack\src\loader.js:41:31)
at process._tickCallback (internal/process/next_tick.js:68:7)
ERROR in ./projects/app2/src/app/project-management/project-management.module.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: D:\my-app\projects\app2\src\app\project-management\project-management.module.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
at AngularCompilerPlugin.getCompiledFile (D:\my-app\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:752:23)
at plugin.done.then (D:\my-app\node_modules\@ngtools\webpack\src\loader.js:41:31)
at process._tickCallback (internal/process/next_tick.js:68:7)
после исправления этого снова, получая еще одну ошибку в консоли браузера.
core.js:19866 ERROR Error: Uncaught (in promise): Error: Cannot find 'ProjectManagementModule' in './project-management/project-management.module'
Error: Cannot find 'ProjectManagementModule' in './project-management/project-management.module'
at checkNotEmpty (core.js:23169)
at core.js:23132
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:391)
at Object.onInvoke (core.js:21835)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:390)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (zone.js:150)
at zone.js:910
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
at Object.onInvokeTask (core.js:21826)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422)
at resolvePromise (zone.js:852)
at resolvePromise (zone.js:809)
at zone.js:913
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
at Object.onInvokeTask (core.js:21826)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195)
at drainMicroTaskQueue (zone.js:601)
Пожалуйста, помогите мне в этом.