"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.

Developer technologies ASP.NET ASP.NET Core
Developer technologies C#
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    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) 77,686 Reputation points Volunteer Moderator
    2022-03-15T15:04:14.1+00:00

    You should delete the node_modules folder and run

    npm install

    Show us the output.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.