-
Notifications
You must be signed in to change notification settings - Fork 115
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
Failing on patching AWS Amplify latest version #3917
Comments
👋 Hi @shilpigoodfin, this isn't the right place for this issue because this is the repo for the Amplify Documentation site, https://docs.amplify.aws/ You will get more help from here: https://github.com/aws-amplify/amplify-hosting, where you can reach out to AWS support to get some help or search through any of the existing issues related to Amplify Hosting to see if problem has already been solved: https://github.com/aws-amplify/amplify-hosting/issues Looking at your PR description though, have you tried following the instructions for using the new build image at the bottom of your message?
|
If you are still experiencing this can you open an AWS support case? |
This issue is now closed. Comments on closed issues are hard for our team to see. |
This issue has been automatically locked. |
Describe the bug
The pipeline to deploy to staging is broken due to amplify latest version not getting patched.
2024-04-02T21:43:15.695Z [ERROR]: !!! Error patching NPM package '@aws-amplify/cli' to version latest. Verify the package name and version are correct, and retry the build. For help see our docs: https://docs.aws.amazon.com/amplify/latest/userguide/custom-build-image.html
Screenshots
2024-04-02T21:42:46.167Z [INFO]: # Cloning repository: [email protected]:goodfin/goodfin_aws.git
2024-04-02T21:42:48.253Z [INFO]:
2024-04-02T21:42:48.254Z [INFO]: Cloning into 'goodfin_aws'...
2024-04-02T21:42:48.254Z [INFO]: # Checking for Git submodules at: /codebuild/output/src3261265033/src/goodfin_aws/.gitmodules
2024-04-02T21:42:48.263Z [INFO]: # Retrieving environment cache...
2024-04-02T21:42:48.320Z [INFO]: # Retrieved environment cache
2024-04-02T21:42:48.320Z [INFO]: ---- Setting Up SSM Secrets ----
2024-04-02T21:42:48.320Z [INFO]: SSM params {"Path":"/amplify/d3jd584ikuog9o/staging/","WithDecryption":true}
2024-04-02T21:43:09.740Z [INFO]: # Node version 18 is available for installation
2024-04-02T21:43:09.859Z [INFO]: # Installing Node version 18
2024-04-02T21:43:14.150Z [INFO]: # Now using Node version 18
2024-04-02T21:43:15.119Z [WARNING]: Cannot find module '/root/.nvm/versions/node//lib/node_modules/@aws-amplify/cli/package.json'
Require stack:
- /snapshot/AWSMobilePioneerExecute/out/index.js
2024-04-02T21:43:15.120Z [INFO]: # Patching NPM package '@aws-amplify/cli' to 12.10.3...
2024-04-02T21:43:15.691Z [INFO]: node: /lib64/libm.so.6: version
GLIBC_2.27' not found (required by node) node: /lib64/libc.so.6: version
GLIBC_2.28' not found (required by node)2024-04-02T21:43:15.695Z [ERROR]: !!! Error patching NPM package '@aws-amplify/cli' to version latest. Verify the package name and version are correct, and retry the build. For help see our docs: https://docs.aws.amazon.com/amplify/latest/userguide/custom-build-image.html
2024-04-02T21:43:15.695Z [WARNING]: ! Unable to patch packages...
2024-04-02T21:43:15.695Z [INFO]: # Starting environment caching...
2024-04-02T21:43:15.695Z [INFO]: # Uploading environment cache artifact...
2024-04-02T21:43:15.794Z [INFO]: # Uploaded environment cache artifact
2024-04-02T21:43:15.794Z [INFO]: # Environment caching completed
2024-04-02T21:43:15.794Z [INFO]: # A new default build image based on Amazon Linux 2023 is now generally available. The image includes newer versions of Node.js, Python, and Ruby that you can use to build your app. To use the new image, select "Amazon Linux:2023" in the "Build settings" section for your app in the Amplify console.
Terminating logging...
The text was updated successfully, but these errors were encountered: