首先安装好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 1npm 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