I have an issue where, on every startup of VSCode, or every file opening, I get popups from node.exe related to npm install. The multiple quick popups are annoying and only appear when I open VSCode in non-admin mode. When I run VSCode as administrator, the issue doesn’t happen.
I tried uninstalling Node.js globally and reinstalling it again, but it didn’t help.
What could be causing these popups to appear, and how can I prevent them from showing up every time I launch VSCode in non-admin mode?
- Remove unnecessary postinstall scripts.
- Configure npm globally to avoid admin rights.
- Clear npm Cache: Run npm cache clean –force.
- Make sure the version is upto date
- This might help resolve the issue.
Om Patel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1