skip to Main Content

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?

enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    I've seen this issue Visual studio code runs NPM outside integrated terminal before and the only solution was to run VSCode as administrator. However, this solution restricts me from using AutoHotkeys and update VSCode automatically.

    Here is the solution I randomly found today: check if node.exe isn't running as administrator, because this is most likely what's causing these node popups. Disable run as administrator in the properties of this file.


    • Remove unnecessary postinstall scripts.
    • Configure npm globally to avoid admin rights.
    • Clear npm Cache: Run npm cache clean --force.
    • Make sure the version is up to date
    • This might help resolve the issue.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search