Ts-node Unable to run single line TS Prgramme #2142
Unanswered
brijeshroy
asked this question in
Q&A
Replies: 1 comment
|
The |
0 replies
注册 for free
to join this conversation on GitHub.
Already have an account?
登录 to comment
Uh oh!
There was an error while loading. Please reload this page.
I am a newbie in TS & want to run a single line programme directly without tanspiling via ts-node

These are my specs
I ran below command
This is my code
I am getting below error
I am not doing any import nothing, I think it should work without package.json file and even after adding package.json file the problem still persists....Please help me with this.
Thank You
All reactions