因此,我在Visual代码内部的终端中键入npm init,结果如下:npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or At line:1 char:1+ ~~
我昨天在我的电脑上更新了node.js,它似乎安装得很好。如果我键入-v,我会得到正确的信息。我得到了v16.13.1的正确版本号npm -vThe syntax of the command is incorrect. The syntax of the command is incorrect. 系统信息