What is the matter when Visual Studio Code pops up a dialog box to select a program when the terminal is running npm?

clipboard.png
npm does not run, what is the situation, node.js is OK, that is, npm is not running, what"s going on?

Mar.17,2022

I think your terminal is powershell,. Try running

.
get-command npm

the output on my computer is

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Application     npm.cmd                                            0.0.0.0    C:\Program Files\nodejs\npm.cmd
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c1ecee-33418.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c1ecee-33418.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?