Regenerate lockfile locally; use npm ci in Amplify preBuild to avoid resolver errors

This commit is contained in:
Gregory Campbell
2026-06-03 22:28:02 -04:00
parent ec37de0e87
commit 4c36574a98
2 changed files with 1281 additions and 2300 deletions
+1 -5
View File
@@ -4,11 +4,7 @@ applications:
phases:
preBuild:
commands:
- node -v
- npm -v
- npm i -g npm@8
- npm -v
- npm install --legacy-peer-deps
- npm ci --legacy-peer-deps
- npm run optimize-images
build:
commands: