An unknown error has occurred. Check the diagnostic log for details

2.7k views Asked by At

New to Azure : I am using azure free service to host react website using vs code extension Azure App Service. While deploying I am getting following error with no specific details

  Using Node version:
  v14.18.3
  Using Npm version:
  6.14.15
  Running 'npm install --unsafe-perm'...
  > react-scripts build
  Creating an optimized production build...
  An unknown error has occurred. Check the diagnostic log for details.
  Deployment failed.

Inside Azure All Service :- microsoft.alertsmanagement/smartdetectoralertrules

Failure Anomalies notifies you of an unusual rise in the rate of failed HTTP requests or dependency calls.

Steps to reproduce

  • First deployment worked for me

  • After adding new dependancy in package.json it is not working (previously worked adding same dependancy)

  • Adding new png assets to project is failed, every time reason is different of failing

Trials to solve

  • Deleted projects and re created

  • Updated project dependancy

  • New project created but its fails after some changes to project

Please help to solve this problem

0

There are 0 answers