lordofpomelo windows下安装问题总结

在Windows上安装lordofpomelo时遇到一系列错误,包括node-gyp重建失败。解决方法是先全局安装pomelo,再将其复制到指定目录,避免直接安装lordofpomelo时的版本不兼容问题。通过将大问题拆解为小问题逐个解决,最终成功启动应用。
摘要由CSDN通过智能技术生成

首先安装好nodejs v0.10.28 

git for windows

 python2.7 设置相应的环境变量

然后安装

npm install node-gyp -g
git clone https://github.com/NetEase/lordofpomelo

在D:\project\lordofpomelo目录中执行批处理

cd ./game-server && mkdir -p logs && npm install -d

出现如下错误,很多错误以下是其中的一部分

npm ERR! v8-profiler@4.0.0 install: `node-gyp rebuild`

npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the v8-profiler@4.0.0 install script.
npm ERR! This is most likely a problem with the v8-profiler package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls v8-profiler
npm ERR! There is likely additional logging output above.


npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值