I’m trying to run a cors server in typescript as a web service instance, the build goes ok, but it gives a “permission denied” error when deploying with “npx ts-node src/server.ts”. I’m using ts-node to run my typescript server and it’s installed globally, it runs successfully on my local machine. Can someone, please, explain why it happens and help me to fix this?
I’m using npm install command to build and npx ts-node src/server.ts to deploy.