Skip to content

Amplify build scripts

0

I'm trying to run some scripts in amplify build phase but nothing works apart from npm install. I'm trying to run a simple echo. Has it happened to anyone before?

  • Can you mention any Further Details, Input such as Screenshot or error massage, and more info about the script or the infra you are using not much ,but something to start with.

asked 2 years ago345 views
1 Answer
3

Seems quite a lot people encounter this issue, please referring this for some insight:

  • Check Amplify CLI Version: Ensure that you are using a compatible version of the Amplify CLI. Some users have reported issues after upgrading to newer versions.

  • Build Settings: Review your amplify.yml file to ensure that the build settings are correctly configured. You can refer to the AWS Amplify documentation for detailed build specification settings.

  • Environment Variables: Make sure that any environment variables required for your build scripts are properly set up in the Amplify console.

Reference: https://docs.aws.amazon.com/amplify/latest/userguide/troubleshooting-build-issues.html?form=MG0AV3&form=MG0AV3

EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.