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" 這一行去掉。
轉載于:https://www.cnblogs.com/foupwang/p/7689488.html