简体   繁体   English

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

[英]npm ERR! code 1 when perforrming npm install

I have looked at the other posts concerning other people who had this or similar problems and those fixes don't seem to be working for me.我查看了其他有关遇到此或类似问题的其他人的帖子,这些修复似乎对我不起作用。 When I run "npm install" I constantly get the line "npm ERR. code 1" Please help me.当我运行“npm install”时,我不断收到“npm ERR.code 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

It looks like you don't have installed Node.js.看起来您还没有安装 Node.js。 Try download and install it from here: https://nodejs.org/en/尝试从这里下载并安装它: https://nodejs.org/en/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM