小编Kla*_*con的帖子

术语“节点”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称

在我的 VS Code 终端中运行 node 时出现此错误,除了我尝试在 CMD 中运行相同的东西并且它在那里工作但不在 VS Code 终端中: 在此处输入图片说明

node: The term 'node' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:1
+ node
+ ~~~~
    + CategoryInfo          : ObjectNotFound: (node:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
Run Code Online (Sandbox Code Playgroud)

node.js visual-studio-code

7
推荐指数
3
解决办法
1万
查看次数

标签 统计

node.js ×1

visual-studio-code ×1