create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

React Scripts Build

Open boydchen411 opened this issue 5 months ago • 2 comments

The React Script Build command is working successfully and shows ready to publish, but the commands are still running and don't exit.

"react-scripts": "5.0.1"

boydchen411 avatar Jul 28 '25 13:07 boydchen411

👋 Thanks for reporting this!

I was able to reproduce the same behavior with [email protected] — the build finishes successfully but the process does not exit.

What I tried:

  • Ran CI=true npm run build --verbose → build succeeds but process still hangs.
  • Adding && exit 0 to the build script in package.json forces it to exit as a workaround:
    "scripts": {
      "build": "react-scripts build && exit 0"
    }
    

vinay070403 avatar Sep 03 '25 06:09 vinay070403

Thanks, for your reply

boydchen411 avatar Sep 03 '25 07:09 boydchen411