Amplify: print node/npm versions; install npm@8 before install to avoid npm resolve bug

This commit is contained in:
Gregory Campbell
2026-06-03 22:21:31 -04:00
parent 2d11d5fa9c
commit 575fb83f66
+4
View File
@@ -4,6 +4,10 @@ applications:
phases:
preBuild:
commands:
- node -v
- npm -v
- npm i -g npm@8
- npm -v
- npm install --legacy-peer-deps
- npm run optimize-images
build: