when i m using Vercel CLI command from project it is working fine but when i m pushing to Github and Deploying it then getting 404
File Structure:
– Root Dir
– dist/index.js
after deployment i m using node dist/index.js comamnd to start
Node JS Version 20 with TS Express
pawlean
(Pauline P. Narvas)
2
Hi, and welcome @tpbadgujar!
Could you try changing the src under builds to: dist/index.js? I wonder if it’s just because of the path that is the issue.
I have Deployed with github but, when i m going to the URL then it is showing raw code for index.js