Use legacy-peer-deps during Amplify install to avoid ERESOLVE errors
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ applications:
|
|||||||
phases:
|
phases:
|
||||||
preBuild:
|
preBuild:
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install --legacy-peer-deps
|
||||||
- npm run optimize-images
|
- npm run optimize-images
|
||||||
build:
|
build:
|
||||||
commands:
|
commands:
|
||||||
|
|||||||
Reference in New Issue
Block a user