I'm engaging with an angular project. meanwhile there took place an error this sort of. So what should I do for this.

./src/app/components/create/create.component.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: C:\Users\ruwan\Documents\projects\new project\MEANSTACK\frontend\src\app\components\create\create.component.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at AngularCompilerPlugin.getCompiledFile (C:\Users\ruwan\Documents\projects\new project\MEANSTACK\frontend\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:752:23)
    at plugin.done.then (C:\Users\ruwan\Documents\projects\new project\MEANSTACK\frontend\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)

0 Answers