npx npm_config_yes=true or --yes not working as expected and npx still requires confirmation for installation

488 Views Asked by At

tried npm_config_yes=true tried --yes and I still get requires confirmation for installation enter image description here

context: $ npm -v 8.11.0 $ node -v v16.15.1

Any workaround is appreciated also

1

There are 1 best solutions below

0
Cyrux On

I had a similar issue with npx, —-yes wasn’t working but -y worked as expected.