Node.js npm错误!执行npm安装时的代码1

Node.js npm错误!执行npm安装时的代码1,node.js,npm,Node.js,Npm,我看过其他关于其他人的帖子,这些人都有这个或类似的问题,而这些修复似乎对我不起作用。当我运行“npm安装”时,我经常收到一行“npm错误!代码1”,请帮助我 **The error in the log state that** 8579 verbose npm v7.11.1 8580 error code 1 8581 error path C:\Users\imm\Myproject\sms-react-web-client\node_modules\core-js-pure 8582

我看过其他关于其他人的帖子,这些人都有这个或类似的问题,而这些修复似乎对我不起作用。当我运行“npm安装”时,我经常收到一行“npm错误!代码1”,请帮助我

**The error in the log state that**

8579 verbose npm  v7.11.1
8580 error code 1
8581 error path C:\Users\imm\Myproject\sms-react-web-client\node_modules\core-js-pure
8582 error command failed
8583 error command C:\WINDOWS\system32\cmd.exe /d /s /c node -e "try{require('./postinstall')}catch(e){}"
8584 error 'node' is not recognized as an internal or external command,
8584 error operable program or batch file.
8585 verbose exit 1

看起来您没有安装Node.js。请尝试从此处下载并安装:

我安装了最受推荐的节点v14.16.1-x64。如果在终端中使用“node”命令,会发生什么?我会转到node.js v14.16.1。键入“.help”以获取更多信息。