Skip to content

fix(deploy): pin npm for Amplify builds - #8

Merged
AmzBG merged 1 commit into
mainfrom
fix/amplify-npm-version
Aug 7, 2026
Merged

fix(deploy): pin npm for Amplify builds#8
AmzBG merged 1 commit into
mainfrom
fix/amplify-npm-version

Conversation

@AmzBG

@AmzBG AmzBG commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Description

  • Pin npm 11.6.2 during the Amplify frontend pre-build phase so it matches the repository's declared package manager.
  • Print the active npm version in the Amplify logs for easier deployment troubleshooting.

Link to issue or ticket

N/A

Steps to QA

  1. Open the Amplify application and deploy this branch or the merged main branch.
  2. Confirm the pre-build logs show npm version 11.6.2.
  3. Confirm npm ci completes without the apackage-lock synchronization error.
  4. Confirm Amplify proceeds to npx turbo run build --filter=web and publishes the frontend artifact successfully.

Local verification confirmed that amplify.yml parses successfully and that this branch differs from main only by the npm setup commands in the Amplify pre-build phase.

Screenshots

N/A

@AmzBG AmzBG self-assigned this Aug 7, 2026
@AmzBG AmzBG added enhancement New feature or request prod labels Aug 7, 2026
@AmzBG
AmzBG merged commit aecda9a into main Aug 7, 2026
1 check passed
@AmzBG
AmzBG deleted the fix/amplify-npm-version branch August 7, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request prod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant