首页 > 技术文章 > Pomelo自带例子LordOfPomelo安装报错的解决

foupwang 2017-10-18 22:28 原文

Pomelo自带demo之LordOfPomelo,下载源码后进入game-server目录,输入命令 npm install -d 安装第三方模块,报错误提示:
npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
解决方法:
把package.json中的 "webkit-devtools-agent" : "0.1.2" 这一行去掉。

推荐阅读