I'm trying to release my project using Nodejs Express on Azure Dev Ops and Deploy on Release, but when I try to open the link. I'm getting a "The page cannot be displayed because an internal server error has occurred." error.
YAML: pool: name: Azure Pipelines steps:
task: NodeTool@0 displayName: 'Use Node 14.x' inputs: versionSpec: 14.x
task: Npm@1 displayName: 'npm install' inputs: verbose: false
task: Npm@1 displayName: 'npm custom' inputs: command: custom verbose: false customCommand: 'run build'
task: PublishBuildArtifacts@1 displayName: 'Publish Artifact: drop' inputs: PathtoPublish: '$(System.DefaultWorkingDirectory)'
and on Azure Pipeline
the default setting of npm install and build
All are working fine, on the build and release.
Blank Page

I'm starting to guess the problem was from the azure portal, or on the way it was setup. Because I didn't create the portal. I'm only the Contributor.
Please help clarify this.
I try to build all files on SCM \wwwroot




configurations->createnew application settings-> then use theSCM_DO_BUILD_DURING_DEPLOYMENT=trueand save the settings. after that try to redeploy the application.