TPM项目未安装NPM软件包

时间:2020-04-28 07:55:51

标签: javascript node.js npm package

我正在尝试遵循此tutorial来启动抽搐播放节点服务器。我安装了node.js。我转到node.js命令提示符,CD到包含我从教程中downloaded的所有信息的文件夹,按教程中所述输入npm install,然后出现此错误:

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/martynsmith/node-irc.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:

错误日志:here (Download)

1 个答案:

答案 0 :(得分:0)

从此处安装gitbash-https://gitforwindows.org/ 并在其中运行npm install-看看是否适合您。

执行cd“〜documents / mde / front mission” 并执行npm install