title: How to run startup command for a nodejs, express js project on Azure?
body: <p>I am using <strong>Azure DevOps</strong> for my app. I am not sure how to set up a startup command for the project. If I will add it to the task in the created pipeline, it gives an error, maybe because the process will never end.</p>
  <p>Actually, I am able to run npm install and create the artifact, but I will need the App a StartUp command to execute <strong>Node server.js</strong></p>
  <p>So, below is an image showing a post-deployment action I have added. It does the job but at last, it says deployment failed. I am hoping there is a better process to trigger the <strong>npm start</strong> command because I can't see any logs as I see on a local server with this command.</p>
  <p><a href="https://i.stack.imgur.com/i46wg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i46wg.png" alt="enter image description here" /></a></p>