AggregateException: One or more errors occurred. (One or more errors occurred. (The NPM script ‘start’ exited without indicating that the create-react-app server was listening for requests. The error output was: ))

System.Threading.Tasks.Task.ThrowIfExceptional(bool includeTaskCanceledExceptions) InvalidOperationException: The NPM script ‘start’ exited without indicating that the create-react-app server was listening for requests.

Currently I am working on one of the application beaches of Microsoft teams application personal app that is developed using a visual studio and the code is deployed into the azure app service.
Everything was working as expected, suddenly one day it started to give the below given error:

AggregateException: One or more errors occurred. (One or more errors occurred. (The NPM script ‘start’ exited without indicating that the create-react-app server was listening for requests. The error output was: ))

System.Threading.Tasks.Task.ThrowIfExceptional(bool includeTaskCanceledExceptions) InvalidOperationException: The NPM script ‘start’ exited without indicating that the create-react-app server was listening for requests.

After after checking for 7 hours I have found out the request for the weather in the root cause for this error is whenever you are deploying your technician inside the Microsoft Azure app service it does not require npm runs start so you need to go and disable or comment out that lines and then you hold these work as expected

By Sigar Dave

Technical Solutions Professional | Modern Workplace Architect Lead | Microsoft 365 | SharePoint | Power Platform | MS Teams | React

Leave a Reply

Your email address will not be published. Required fields are marked *