Node.js 即使我的路径指向nodejs,节点也无法识别。我该如何解决这个问题?

Node.js 即使我的路径指向nodejs,节点也无法识别。我该如何解决这个问题?,node.js,angular,git-bash,Node.js,Angular,Git Bash,对于这个类,我们被要求安装Git、Nodejs和VSCode。 之后,我们被要求通过gitbash运行npm安装-g@angular/cli 等待一段时间后,我收到一条错误消息: “节点”未被识别为内部或外部命令, 可操作的程序或批处理文件 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @angular/cli@8.3.14 postinstall: `node ./bin/postinstall/script.js` npm ERR! E

对于这个类,我们被要求安装Git、Nodejs和VSCode。 之后,我们被要求通过gitbash运行npm安装-g@angular/cli 等待一段时间后,我收到一条错误消息: “节点”未被识别为内部或外部命令, 可操作的程序或批处理文件

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @angular/cli@8.3.14 postinstall: `node ./bin/postinstall/script.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @angular/cli@8.3.14 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\JumpNShootMan\AppData\Roaming\npm-cache\_logs\2019-10-26T15_48_32_620Z-debug.log
我试着重新安装了所有的东西,并三次检查路径是否设置正确。我不知道的是,电脑在漫游时运行某些东西是否正常,我不知道这是否是我的错。我不太擅长这些,我迷路了。我认为安装起来会很容易:( 请帮忙


编辑:再次尝试重新安装,没有任何效果。无法识别作为命令的节点

,这可能是因为您没有以管理员身份安装nodejs,授予其对所有帐户的访问权限,并且存在一些权限错误。请尝试从
Node cmd
而不是gitbash运行该命令,如果该命令运行,则其权限问题将被安装r是一个.msi文件,所以我不能以管理员身份运行它(即使我是计算机上唯一的管理员:()节点说:npm应该在节点repl之外的正常shell中运行