diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82912a966210811608d13378dbb770112e2ea92b..25b462fc6e2708391d58935481bceb82162f6b4a 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,7 +26,7 @@ stages:
 build:
   stage: build
   script:
-    - npm install
+    - npm install --legacy-peer-deps
     - npm run build
 
 test: