The main reason for this error is the launch of the TypeScript file
compilation command in the wrong directory.
Replace I have app.kironTest.ts
file app.kironTest.ts
folder src
so I have to write the following command to run the file app.kironTest.ts
as my file name app.kironTest.ts
. in the src
directory.
tsc .\app\app.kironTest.ts
Successfully complete the command.
But if you command as shown below:
app.kironTest.ts
You will get the following error

The correct command would be:
tsc .\app\app.kironTest.ts
source share