How to fix deployment failures from vs code to Azure app service on my mac book?

Isaac Amoateng 0 Reputation points
2024-09-04T12:06:13.0733333+00:00

Hi , I have been having a problem on my vs code with deploying a folder which contain code from vs code to web app on azure. Whenever i try to deploy, it keeps showing this, “Failed to deploy path that does not exist: /User…”. Can you please solve this problem? Kind Regards, Isaac

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,807 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 16,431 Reputation points Microsoft Employee
    2024-09-26T02:56:31.4166667+00:00

    @Isaac Amoateng It seems like there is an issue with the path that you are trying to deploy from VS Code to the Azure App Service. The error message "Failed to deploy path that does not exist: /User…" indicates that the path you are trying to deploy does not exist on your local machine.

    1. Verify that the path you are trying to deploy exists on your local machine. Check the spelling and ensure that the path is correct.
    2. Check the deployment settings in VS Code. Ensure that the deployment path is set correctly and matches the path on your local machine.
    3. Check the Azure App Service deployment settings. Ensure that the deployment path is set correctly and matches the path on your local machine.
    4. Try deploying a different folder or file to the Azure App Service to see if the issue persists. This can help determine if the issue is specific to the folder you are trying to deploy or if it is a more general issue.
    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.