Build Timeout Issue with npm i typeorm Command Execution in CodeBuild Environment

0

Hello AWS Community,

We've encountered an unexpected issue with our CodeBuild environment that has been causing build timeouts since yesterday. Specifically, during the Pre Build phase, we execute the command npm i typeorm, but it seems to hang up and eventually leads to a build timeout.

It's worth noting that we've been successfully running this command in our CodeBuild environment since the application was deployed in our infrastructure, and we've never faced this issue before.

To troubleshoot, we attempted to replicate the problem in our organization's AWS account, but surprisingly, the command executed successfully without any timeouts.

We're reaching out to gather insights and potential solutions from the community. Any assistance or suggestions on why this issue might be occurring and how to resolve it would be greatly appreciated.

Thank you in advance for your help.

질문됨 2달 전135회 조회
1개 답변
0

Hello,

I understand that you are encountering an unusual issue with your CodeBuild environment which is causing build timeouts since yesterday specially during prebuild phase where you are executing the command npm i typeorm which seems to be hang up and will timeout eventually.

However, the same command executed successfully without any issues in your organization's AWS account.

Here I would like to inform you that there might be various factors for the build to timeout. Hence I request you to add "--loglevel=verbose" to your npm command "npm i typeorm" as it would help us identify if the command is getting stuck while reaching to some package over internet.

npm i typeorm --loglevel=verbose

Having said that if the issue still persists, I request you to please reach out to us via Support case as it requires deeper troubleshooting with build logs and the environment configuration.

Thank you !!

AWS
답변함 2달 전
profile picture
전문가
검토됨 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠