Search code examples
node.jsvisual-studio-codenpm

npm and node update message in VS Code


Ensure node and npm are installed to enable automatically reporting issues in source files pertaining to accessibility, compatibility, security, and more.

I have installed npm and NodeJS (latest version of both) and checked multiple times. Still I am getting this message frequently in VS Code. I could not find any plausible reason on my local environment or searching the web.

My environment details:
Windows 11
npm 8.11.0
node 16.15.1

Is there anything that can affect my projects? I am working on extension development (beginner level).

What's triggering this message and how do I resolve this issue? Update: It is affecting my projects.


Solution

  • So, all the inconsistent behaviors by the machine I am on have been resolved.

    After trying multiple things, I reset Windows by 'remove everything'. It worked like a wizard. I, then, installed Node, VS Code and Yeoman. They all worked without any problem on the very first attempt.

    My experience is Windows 11 likely to have some built-in issues since it's very new.