The build failed because the process exited too early

Hello there, I got a react project written with typescript, it can runs npm start and build successfully locally. But failed on circleci with this weird message:

Then I tried debugging with ssh, which gives me the same result

I tried revert project dependencies back to old versions, but no luck, this issue starts happening like three days ago.

Anyone know why is this happens? Really appreciate.

Hi @stevenzhang,

Welcome to the CircleCI community!

As suggested by the error message, this could be a memory usage related issue.

Could you check the job’s memory usage as per this Support article, and see if it reaches the max memory limit of the resource_class you’re using?