SIVAMUTHUKUMAR SELLAM
SIVAMUTHUKUMAR SELLAM

Reputation: 11

Error after added nativescript schematics to an angular project

Added nativescripts to exisiting Angular Application using this npm install --global @nativescript/schematics and ng add @nativescript/schematics

Got below error ERROR in error TS6053: File 'C:[path]/src/src/main.ts' not found.

error TS6053: File 'C:[path]/src/src/polyfills.ts' not found.

then i have followed this link to resolve it https://stackoverflow.com/a/58623108/14326477

but then again got below different error, Attached the screen shot below

Image attached here. Error while building

ERROR in ./src/app/components/refund/refund.module.ts Module build failed (from ./node_modules/@ngtools/webpack/src/index.js): Error: C:\Users[path]\Client\src\app\components\refund\refund.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 (C:\Users[path][\Client\node_modules@ngtools\webpack\src\angular_compiler_plugin.js:752:23) at plugin.done.then (C:\Users[path]\Client\node_modules@ngtools\webpack\src\loader.js:41:31) at process._tickCallback (internal/process/next_tick.js:68:7)

Can you guys please help on this?

Upvotes: 1

Views: 132

Answers (0)

Related Questions