run "npm install --legacy-peer-deps" to cope with dependency mismatch caused by downgraded grunt-newer

This commit is contained in:
ralf 2022-04-21 13:47:39 +02:00
parent 12c0f4efd6
commit 90822140b7

View File

@ -278,7 +278,7 @@ run_cmd($cmd, 'composer');
// update npm dependencies and run grunt to minify javascript and css
if ($npm && $grunt)
{
run_cmd($npm.' install', 'npm');
run_cmd($npm.' install --legacy-peer-deps', 'npm');
run_cmd($grunt, 'grunt');
}