From 180ca179d6d5926de3acd708a185d9c2a546c9fc Mon Sep 17 00:00:00 2001 From: Borislav Traykov Date: Wed, 22 May 2024 16:27:31 +0300 Subject: [PATCH] Add --legacy-peer-deps npm ERR! Could not resolve dependency: npm ERR! peerOptional @types/hammerjs@"^2.0.40" from igniteui-angular@17.2.3 --- azure-pipelines/build-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines/build-pipeline.yml b/azure-pipelines/build-pipeline.yml index 5a4b56a81..50ced6c96 100644 --- a/azure-pipelines/build-pipeline.yml +++ b/azure-pipelines/build-pipeline.yml @@ -39,9 +39,9 @@ jobs: - task: Npm@1 displayName: 'npm install' inputs: - command: 'install' + command: 'custom' workingDir: '$(Build.SourcesDirectory)\browser' - verbose: ${{ parameters.isVerbose }} + customCommand: 'install --legacy-peer-deps' - task: PowerShell@2 displayName: 'Apply very special configuration'