"The NPM script 'start' exited without indicating that the create-react-app server was listening for requests" In .Net React Application

Manuel Rom 1 Reputation point
2022-03-09T16:10:47.987+00:00

When I try to run my project I always get this error:

181477-image.png

I've tried everything I've seen online, and it still fails. I've executed "npm install" and a lot of npm commands I've seen in similar questions online. I've updated npm, node.js and visual studio.

Please help me I'm desperate.

Thank you in advance.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,245 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,390 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 58,041 Reputation points
    2022-03-09T16:19:03.487+00:00

    The first debugging step is from the command line, cd to the ClientApp folder and:

    Check if app builds

    npm run build

    Check if it starts ok

    npm start

    Fix any errors.


  2. Bruce (SqlWork.com) 58,041 Reputation points
    2022-03-15T15:04:14.1+00:00

    You should delete the node_modules folder and run

    npm install

    Show us the output.