Typescript build folder

I’ve got a node express app written in typescript. The tsc command is supposed to put everything into a dist folder and then running node dist/index.js should run the server.

My build command is npm install && tsc but it seems that whatever build is uploaded after that does not include the dist folder that typescript creates. To test this I changed my start command to check the existence of the dist folder

Hi Ruben,

Can you add some additional troubleshooting statements to ls the directories before and after running tsc and include that output here? Can you also provide the exact build and start commands you are trying to use?

Regards,

Matt

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.