You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: git@github.com: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:
Looking at your PR description though, have you tried following the instructions for using the new build image at the bottom of your message?
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.
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: git@github.com: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: