简体   繁体   English

NPM package 未安装 tpp 项目

[英]NPM package not installing for tpp project

I am trying to follow this tutorial to get a twitch plays node server up.我正在尝试按照本教程来启动 twitch 播放节点服务器。 I installed node.js.我安装了 node.js。 I go to the node.js command prompt, CD to the folder containing all the information that I downloaded from the tutorial, type npm install as said in the tutorial and I get this error:我 go 到 node.js 命令提示符,CD 到包含我从教程下载的所有信息的文件夹,键入 npm 按照教程中的说明安装,我收到此错误:

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:

error log: here (Download)错误日志: 这里(下载)

Install gitbash from here - https://gitforwindows.org/ and run npm install in it - see if that works for you.从这里安装 gitbash - https://gitforwindows.org/并在其中运行 npm install - 看看这是否适合你。

do cd "~documents/mde/front mission" and perform npm install执行 cd "~documents/mde/front task" 并执行 npm 安装

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

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