npm audit run on my project and got me this
npm audit
High Command Injection Dependency of @angular-devkit/build-angular [dev]
Add below code to package.json
"resolutions": { "tree-kill":"1.2.2" }
Remove all node modules:
rm -r node_modules
Update package-lock.json for new version 1.2.2 as :
npx npm-force-resolutions
Now install node modules:
npm install
This works for me.