I have used the Run 'npm install' on a package.json file when I right click. This would install packages locally. Now with the new update this seems to be broken ? It is installing packages globally. The action seems to run below command but it is installing the packages globally.
/usr/local/lib/node_modules/npm/bin/npm-cli.js install --scripts-prepend-node-path=auto