Cannot start my node app after a successful deployment

Eva Oliveira 0 Reputation points
2023-09-25T07:11:55.22+00:00

Hi,

Cannot start my app. I'm using node 18 LTS on linux, and my app is running locally. Screenshot 2023-09-25 at 08.06.05

whenever I deploy the page I get is

Screenshot 2023-09-25 at 08.07.06

I don't even know how to debug as I don+t have errors.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,961 questions
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 17,741 Reputation points Microsoft Employee Moderator
    2023-09-26T01:28:02.3666667+00:00

    @Eva Oliveira Can you confirm that you have followed the steps to deploy your code to Azure App Service? If you're not sure, you can follow the steps in the Quickstart: Create a Node.js web app: (https://docs.microsoft.com/en-us/azure/app-service/quickstart-nodejs?pivots=platform-linux) article to deploy your code.

    If you have already deployed your code, the next step is to check the logs to see if there are any errors. You can do this by following these steps:

    1. Go to the Azure portal and navigate to your app service.
    2. Click on "Log stream" in the left-hand menu.
    3. Refresh the page to see the latest logs.

    If there are any errors, they should be displayed in the log stream. If you're not sure what the error means, you can search for it in the Node.js best practices and troubleshooting article.

    If you don't see any errors in the logs, you can try restarting your app service to see if that resolves the issue. You can do this by following these steps:

    1. Go to the Azure portal and navigate to your app service.
    2. Click on "Restart" in the left-hand menu.

    If none of these step's work, please let me know and we can try some other troubleshooting steps.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.