My NodeJS App is written in Typescript and I am trying to deploy it on Heroku.
I was following a YouTube tutorial.
My app is deployed but it's showing me error. Can anybody tell me what's the issue?
Is it because of the app written in Typescript?
I created a Procfile and added this [web: nodemon src/server.ts] in file. So that heroku knows where to find the server file.
If there is a similar question or answer related to my Question, please do share that link here.
.tsfiles. I don't know why OP isn't just compiling the TypeScript into JavaScript beforehand thonpm run dev#3 Do you have thenpm run buildscript in your package.json? #4npm run buildis required to make real js apps using javascript or typescript. #4 If you have this script, I created a server which would help you to deploy your js app in any server like heroku, gcp, aws, azure, etc