From 83fb6e215bcde66ff7cf14c5821177a8169b76c3 Mon Sep 17 00:00:00 2001 From: nikhil-kanotra <33729365+librannk@users.noreply.github.com> Date: Wed, 19 Oct 2022 00:12:44 +0530 Subject: [PATCH] npn ci breaks in many cases npn ci breaks in many cases , suggesting to update to "npm install --legacy-peer-deps" --- deployment/build-s3-dist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/build-s3-dist.sh b/deployment/build-s3-dist.sh index 897762a..66021e0 100755 --- a/deployment/build-s3-dist.sh +++ b/deployment/build-s3-dist.sh @@ -74,7 +74,7 @@ cp sam.yaml $template_dist_dir/backend.template # Step 3/5: Build client (React) ###################################################### cd $source_dir/client || exit -npm ci +npm install --legacy-peer-deps # Download ML models curl -o public/weights/tiny_face_detector_model-shard1.shard -kL https://github.com/justadudewhohacks/face-api.js/blob/a86f011d72124e5fb93e59d5c4ab98f699dd5c9c/weights/tiny_face_detector_model-shard1?raw=true echo 'f3020debaf078347b5caaff4bf6dce2f379d20bc *public/weights/tiny_face_detector_model-shard1.shard' | shasum -c