@Umer Rashid Thanks for reaching here!
The error message you are seeing indicates that there may be an ongoing deployment or that the WEBSITE_RUN_FROM_PACKAGE app setting is set. Here are a few things you can try to resolve the issue:
- Check for ongoing deployments: You can check if there are any ongoing deployments by going to the Azure portal and selecting your app service. From there, go to the "Deployment Center" section and check if there are any ongoing deployments. If there are, wait for them to complete before trying to deploy again.
- Remove the WEBSITE_RUN_FROM_PACKAGE app setting: If the WEBSITE_RUN_FROM_PACKAGE app setting is set, you can remove it by going to the Azure portal and selecting your app service. From there, go to the "Configuration" section and look for the WEBSITE_RUN_FROM_PACKAGE app setting. If it is set, remove it and try deploying again.
- Check your deployment script: Ensure that your deployment script is correctly configured to deploy your Node.js app to Azure App Service. You can refer to the Azure documentation for guidance on how to deploy a Node.js app to Azure App Service using Bitbucket Pipeline- https://learn.microsoft.com/en-us/azure/app-service/deploy-continuous-deployment?tabs=github%2Cgithubactions#overview
- Check your app settings: Ensure that your app settings are correctly configured for your Node.js app. You can check your app settings by going to the Azure portal and selecting your app service. From there, go to the "Configuration" section and look for your app settings. Ensure that they are correctly configured for your Node.js app.
Please let us know if further query or issue remains.