Doesn't your *.ts (from src folder) transpile into *.js into the dist folder? This would mean your command "node dist/main.js" for starting up prod should instead be "node src/main.js" right?
Still struggling deploying my webapp as a PAAS webapp on Azure, so grain of salt, etc.
Yes, this is correct, if you use start:prod as launch command!
I found it easier to tell beanstalk to manually launch node src/main.js than modifying the package.json at the time, but modifying it would definitely be the better solution.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Doesn't your *.ts (from src folder) transpile into *.js into the dist folder? This would mean your command "node dist/main.js" for starting up prod should instead be "node src/main.js" right?
Still struggling deploying my webapp as a PAAS webapp on Azure, so grain of salt, etc.
Yes, this is correct, if you use
start:prod
as launch command!I found it easier to tell beanstalk to manually launch
node src/main.js
than modifying thepackage.json
at the time, but modifying it would definitely be the better solution.