Unable run the .ts file from windows cmd prompt.
akkie00 opened this issue · 1 comments
akkie00 commented
So I was trying to execute a very basic program in Angular written in VS code. When I try to run the file using "tsc main.ts", nothing comes up. look at the screen shot:
But when I use, "node main.ts" it's giving that particular output, with error(it was expected).
Can someone tell me what I am missing here? I'm new to VS code and working with Angular in it is totally mind blowing in a good way.
Any advice is appreciated!
akkie00 commented
I hope I got this, by using "tsc main.ts && node main.js"