-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Executing custom build scripts is not yet implemented" when deploying via Amplify console (preview) #13425
Comments
Hey @rwbayer, thank you for reaching out. Do you have any live package set for Amplify CLI in AWS Amplify console? Additionally, could you add |
@ykethan Thank you for your response. I searched this bug but did not see the linked issue in the hosting repo. It is the same issue for me. I was not using live packages before, but turning on this feature and setting amplify-cli to "latest" fixed the issue for me. Appreciate the help! |
|
FWIW - I came across this issue when I had a similar bug, and anchoring the Amplify CLI version in my amplify.yml to my local Amplify CLI version fixed the issue for me. Over the course of development, I had upgraded my Amplify CLI, made a new function, and then did a regular deploy with my Github / CI system which was using a version of the Amplify CLI that was behind my local version. Hope this helps someone else! |
Before opening, please confirm:
App Id
d1njppq202jn9q
AWS Region
us-west-2
Amplify Hosting feature
Backend builds, Backend environments, Build settings, Deployments
Frontend framework
Next.js
Next.js version
13.5.3
Next.js router
App Router
Describe the bug
The backend deployment of previews are failing with the error:
My build script has not changed from previous deployments that succeeded (pasted below).
The feature branch I am trying to deploy did involve a local upgrade to the cli on my machine, but I don't see how that would cause it. I was able to manually deploy the backend environment from my local machine that is failing to deploy in the preview.
Expected behavior
The build for a preview should succeed.
Reproduction steps
Build Settings
Put your logs below this line
2023-11-21T19:32:55.939Z [WARNING]: ✔ Initialized provider successfully.
2023-11-21T19:32:57.292Z [WARNING]: ✖ There was an error initializing your environment.
2023-11-21T19:32:57.294Z [INFO]: 🛑 Executing custom build scripts is not yet implemented
2023-11-21T19:32:57.294Z [INFO]: Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/
2023-11-21T19:32:57.297Z [INFO]:
2023-11-21T19:32:57.297Z [INFO]: Session Identifier: 8adb0478-1ba4-4358-830a-569f8e2d6dab
2023-11-21T19:32:57.324Z [WARNING]: - Uploading files.
2023-11-21T19:32:57.456Z [ERROR]: !!! Build failed
2023-11-21T19:32:57.456Z [INFO]: Please read more about Amplify Hosting's support for SSR frameworks to find if your build failure is related to an unsupported feature: https://docs.aws.amazon.com/amplify/latest/userguide/amplify-ssr-framework-support.html. You may also find this troubleshooting guide useful: https://docs.aws.amazon.com/amplify/latest/userguide/troubleshooting-ssr-deployment.html
2023-11-21T19:32:57.457Z [ERROR]: !!! Non-Zero Exit Code detected
2023-11-21T19:32:57.457Z [INFO]: # Starting environment caching...
2023-11-21T19:32:57.457Z [INFO]: # Environment caching completed
Terminating logging...
The text was updated successfully, but these errors were encountered: