When I perform the initial deployment using amplify-vite-react-template, the deployment fails.
It seemed fine until the end of 2025.
2026-01-18T08:39:29.719Z [INFO]: # Build environment configured with Standard build compute type: 8GiB Memory, 4vCPUs, 128GB Disk Space
2026-01-18T08:39:30.517Z [INFO]: # Cloning repository: git@github.com:kanekoy/s3-vectors-viewer-2026.git
2026-01-18T08:39:31.807Z [INFO]:
2026-01-18T08:39:31.807Z [INFO]: Cloning into 's3-vectors-viewer-2026'...
2026-01-18T08:39:31.807Z [INFO]: # Checking for Git submodules at: /codebuild/output/src1421512201/src/s3-vectors-viewer-2026/.gitmodules
2026-01-18T08:39:31.817Z [INFO]: # Retrieving environment cache...
2026-01-18T08:39:31.857Z [WARNING]: ! Unable to write cache: {"code":"ERR_BAD_REQUEST","message":"Request failed with status code 404"})}
2026-01-18T08:39:31.857Z [INFO]: ---- Setting Up SSM Secrets ----
2026-01-18T08:39:31.857Z [INFO]: SSM params {"Path":"/amplify/d2ebkh69jf9657/main/","WithDecryption":true}
2026-01-18T08:39:32.294Z [INFO]: # No package override configuration found.
2026-01-18T08:39:32.299Z [INFO]: # Retrieving cache...
2026-01-18T08:39:32.351Z [INFO]: # Retrieved cache
2026-01-18T08:39:36.956Z [INFO]: ## Starting Backend Build
# Starting phase: build
# Executing command: npm ci --cache .npm --prefer-offline
2026-01-18T08:39:57.200Z [WARNING]: npm warn ERESOLVE overriding peer dependency
2026-01-18T08:39:57.208Z [WARNING]: npm warn While resolving: @aws-amplify/plugin-types@1.10.1
npm warn Found: @aws-sdk/types@3.821.0
npm warn node_modules/@aws-amplify/data-construct/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/node_modules/@aws-sdk/types
npm warn
npm warn Could not resolve dependency:
npm warn peer @aws-sdk/types@"^3.734.0" from @aws-amplify/plugin-types@1.10.1
npm warn node_modules/@aws-amplify/data-construct/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types
npm warn @aws-amplify/plugin-types@"^1.10.1" from @aws-amplify/ai-constructs@1.5.3
npm warn node_modules/@aws-amplify/data-construct/node_modules/@aws-amplify/ai-constructs
2026-01-18T08:40:00.046Z [WARNING]: npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @aws-amplify/plugin-types@1.10.1
npm warn Found: @aws-sdk/types@3.821.0
npm warn node_modules/@aws-amplify/graphql-api-construct/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/node_modules/@aws-sdk/types
npm warn
npm warn Could not resolve dependency:
npm warn peer @aws-sdk/types@"^3.734.0" from @aws-amplify/plugin-types@1.10.1
npm warn node_modules/@aws-amplify/graphql-api-construct/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types
npm warn @aws-amplify/plugin-types@"^1.10.1" from @aws-amplify/ai-constructs@1.5.3
npm warn node_modules/@aws-amplify/graphql-api-construct/node_modules/@aws-amplify/ai-constructs
2026-01-18T08:40:00.258Z [WARNING]: npm error code EUSAGE
2026-01-18T08:40:00.259Z [WARNING]: npm error
npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm error
npm error Missing: json-schema-to-ts@3.1.1 from lock file
npm error Missing: ts-algebra@2.0.0 from lock file
npm error Missing: @aws-sdk/eventstream-handler-node@3.821.0 from lock file
npm error Missing: @aws-sdk/middleware-eventstream@3.821.0 from lock file
npm error Missing: @aws-sdk/types@3.821.0 from lock file
npm error Missing: @aws-sdk/types@3.821.0 from lock file
npm error Missing: @aws-cdk/toolkit-lib@0.3.2 from lock file
npm error Missing: @aws-cdk/cloud-assembly-schema@43.12.0 from lock file
npm error Missing: @aws-cdk/region-info@2.235.0 from lock file
npm error Missing: @smithy/middleware-endpoint@4.4.8 from lock file
npm error Missing: @smithy/node-http-handler@4.4.8 from lock file
npm error Missing: @smithy/property-provider@4.2.8 from lock file
npm error Missing: @smithy/shared-ini-file-loader@4.4.3 from lock file
npm error Missing: @smithy/util-retry@4.2.8 from lock file
npm error Missing: @smithy/util-stream@4.5.10 from lock file
npm error Missing: camelcase@6.3.0 from lock file
npm error Missing: cdk-assets@3.3.1 from lock file
npm error Missing: cdk-from-cfn@0.210.0 from lock file
npm error Missing: chalk@4.1.2 from lock file
npm error Missing: decamelize@5.0.1 from lock file
npm error Missing: fs-extra@9.1.0 from lock file
npm error Missing: json-diff@1.0.6 from lock file
npm error Missing: promptly@3.2.0 from lock file
npm error Missing: proxy-agent@6.5.0 from lock file
npm error Missing: strip-ansi@6.0.1 from lock file
npm error Missing: uuid@11.1.0 from lock file
npm error Missing: wrap-ansi@7.0.0 from lock file
npm error Missing: yaml@1.10.2 from lock file
npm error Missing: yargs@15.4.1 from lock file
npm error Missing: @ewoudenberg/difflib@0.1.0 from lock file
npm error Missing: colors@1.4.0 from lock file
npm error Missing: dreamopt@0.8.0 from lock file
npm error Missing: heap@0.2.7 from lock file
npm error Missing: read@1.0.7 from lock file
npm error Missing: agent-base@7.1.4 from lock file
npm error Missing: http-proxy-agent@7.0.2 from lock file
npm error Missing: https-proxy-agent@7.0.6 from lock file
npm error Missing: lru-cache@7.18.3 from lock file
npm error Missing: pac-proxy-agent@7.2.0 from lock file
npm error Missing: proxy-from-env@1.1.0 from lock file
npm error Missing: socks-proxy-agent@8.0.5 from lock file
npm error Missing: @tootallnate/quickjs-emscripten@0.23.0 from lock file
npm error Missing: get-uri@6.0.5 from lock file
npm error Missing: pac-resolver@7.0.1 from lock file
npm error Missing: basic-ftp@5.1.0 from lock file
npm error Missing: data-uri-to-buffer@6.0.2 from lock file
npm error Missing: degenerator@5.0.1 from lock file
npm error Missing: netmask@2.0.2 from lock file
npm error Missing: ast-types@0.13.4 from lock file
npm error Missing: escodegen@2.1.0 from lock file
npm error Missing: esprima@4.0.1 from lock file
npm error Missing: source-map@0.6.1 from lock file
npm error Missing: mute-stream@0.0.8 from lock file
npm error Missing: socks@2.8.7 from lock file
npm error Missing: ip-address@10.1.0 from lock file
npm error Missing: smart-buffer@4.2.0 from lock file
npm error Missing: ansi-regex@5.0.1 from lock file
npm error Missing: cliui@6.0.0 from lock file
npm error Missing: decamelize@1.2.0 from lock file
npm error Missing: find-up@4.1.0 from lock file
npm error Missing: y18n@4.0.3 from lock file
npm error Missing: yargs-parser@18.1.3 from lock file
npm error Missing: wrap-ansi@6.2.0 from lock file
npm error Missing: locate-path@5.0.0 from lock file
npm error Missing: p-locate@4.1.0 from lock file
npm error Missing: p-limit@2.3.0 from lock file
npm error Missing: camelcase@5.3.1 from lock file
npm error Missing: decamelize@1.2.0 from lock file
npm error Missing: @smithy/core@3.20.7 from lock file
npm error Missing: @smithy/middleware-serde@4.2.9 from lock file
npm error Missing: @smithy/node-config-provider@4.3.8 from lock file
npm error Missing: @smithy/types@4.12.0 from lock file
npm error Missing: @smithy/url-parser@4.2.8 from lock file
npm error Missing: @smithy/util-middleware@4.2.8 from lock file
npm error Missing: @smithy/protocol-http@5.3.8 from lock file
npm error Missing: @smithy/util-base64@4.3.0 from lock file
npm error Missing: @smithy/util-body-length-browser@4.2.0 from lock file
npm error Missing: @smithy/util-utf8@4.2.0 from lock file
npm error Missing: @smithy/abort-controller@4.2.8 from lock file
npm error Missing: @smithy/querystring-builder@4.2.8 from lock file
npm error Missing: @smithy/util-uri-escape@4.2.0 from lock file
npm error Missing: @smithy/querystring-parser@4.2.8 from lock file
npm error Missing: @smithy/util-buffer-from@4.2.0 from lock file
npm error Missing: @smithy/is-array-buffer@4.2.0 from lock file
npm error Missing: @smithy/service-error-classification@4.2.8 from lock file
npm error Missing: @smithy/fetch-http-handler@5.3.9 from lock file
npm error Missing: @smithy/util-hex-encoding@4.2.0 from lock file
npm error Missing: jsonfile@6.2.0 from lock file
npm error Missing: universalify@2.0.1 from lock file
npm error Missing: @aws-cdk/toolkit-lib@0.3.2 from lock file
npm error Missing: @aws-cdk/cloud-assembly-schema@43.12.0 from lock file
npm error Missing: @smithy/middleware-endpoint@4.4.8 from lock file
npm error Missing: @smithy/node-http-handler@4.4.8 from lock file
npm error Missing: @smithy/property-provider@4.2.8 from lock file
npm error Missing: @smithy/shared-ini-file-loader@4.4.3 from lock file
npm error Missing: @smithy/util-retry@4.2.8 from lock file
npm error Missing: @smithy/util-stream@4.5.10 from lock file
npm error Missing: camelcase@6.3.0 from lock file
npm error Missing: cdk-from-cfn@0.210.0 from lock file
npm error Missing: chalk@4.1.2 from lock file
npm error Missing: decamelize@5.0.1 from lock file
npm error Missing: fs-extra@9.1.0 from lock file
npm error Missing: strip-ansi@6.0.1 from lock file
npm error Missing: uuid@11.1.0 from lock file
npm error Missing: wrap-ansi@7.0.0 from lock file
npm error Missing: yaml@1.10.2 from lock file
npm error Missing: yargs@15.4.1 from lock file
npm error Missing: ansi-regex@5.0.1 from lock file
npm error Missing: cliui@6.0.0 from lock file
npm error Missing: decamelize@1.2.0 from lock file
npm error Missing: find-up@4.1.0 from lock file
npm error Missing: y18n@4.0.3 from lock file
npm error Missing: yargs-parser@18.1.3 from lock file
npm error Missing: wrap-ansi@6.2.0 from lock file
npm error Missing: locate-path@5.0.0 from lock file
npm error Missing: p-locate@4.1.0 from lock file
npm error Missing: p-limit@2.3.0 from lock file
npm error Missing: camelcase@5.3.1 from lock file
npm error Missing: decamelize@1.2.0 from lock file
npm error Missing: @smithy/core@3.20.7 from lock file
npm error Missing: @smithy/middleware-serde@4.2.9 from lock file
npm error Missing: @smithy/node-config-provider@4.3.8 from lock file
npm error Missing: @smithy/types@4.12.0 from lock file
npm error Missing: @smithy/url-parser@4.2.8 from lock file
npm error Missing: @smithy/util-middleware@4.2.8 from lock file
npm error Missing: @smithy/protocol-http@5.3.8 from lock file
npm error Missing: @smithy/util-base64@4.3.0 from lock file
npm error Missing: @smithy/util-body-length-browser@4.2.0 from lock file
npm error Missing: @smithy/util-utf8@4.2.0 from lock file
npm error Missing: @smithy/abort-controller@4.2.8 from lock file
npm error Missing: @smithy/querystring-builder@4.2.8 from lock file
npm error Missing: @smithy/util-uri-escape@4.2.0 from lock file
npm error Missing: @smithy/querystring-parser@4.2.8 from lock file
npm error Missing: @smithy/util-buffer-from@4.2.0 from lock file
npm error Missing: @smithy/is-array-buffer@4.2.0 from lock file
npm error Missing: @smithy/service-error-classification@4.2.8 from lock file
npm error Missing: @smithy/fetch-http-handler@5.3.9 from lock file
npm error Missing: @smithy/util-hex-encoding@4.2.0 from lock file
npm error Missing: jsonfile@6.2.0 from lock file
npm error Missing: universalify@2.0.1 from lock file
npm error
npm error Clean install a project
npm error
npm error Usage:
npm error npm ci
npm error
npm error Options:
npm error [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
npm error [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm error [--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
npm error [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
npm error [--no-bin-links] [--no-fund] [--dry-run]
npm error [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm error [-ws|--workspaces] [--include-workspace-root] [--install-links]
npm error
npm error aliases: clean-install, ic, install-clean, isntall-clean
npm error
npm error Run "npm help ci" for more info
2026-01-18T08:40:00.259Z [WARNING]: npm error A complete log of this run can be found in: /codebuild/output/src1421512201/src/s3-vectors-viewer-2026/.npm/_logs/2026-01-18T08_39_40_983Z-debug-0.log
2026-01-18T08:40:00.268Z [ERROR]: !!! Build failed
2026-01-18T08:40:00.268Z [ERROR]: !!! Error: Command failed with exit code 1
2026-01-18T08:40:00.268Z [INFO]: # Starting environment caching...
2026-01-18T08:40:00.268Z [INFO]: # Environment caching completed
When I perform the initial deployment using amplify-vite-react-template, the deployment fails.
It seemed fine until the end of 2025.