-1
$ ts-node basic.ts

image

I tried npm i -g arg but still error occurs

I tried to run a typescript file using ts-node in ubuntu 22.04 and expecting the output of typescript file

1 Answers1

-1

Can you try "sudo npm i arg" inside your project directory?