STF之Windows环境

link on JianShu

Node环境 + 依赖 rethinkdb graphicsmagick zeromq protobuf yasm pkg-config

rethinkdb windows/

#  go to the directory that you unpacked rethinkdb.exe in
rethinkdb.exe -d c:\RethinkDB\data\

graphicsmagick 正常安装完成,可执行gm命令即可。系统安装后会自动添加环境变量 c:\program files\graphicsmagick-1.3.33-q16

https://zeromq.org/download/

protobuf releases

https://github.com/protocolbuffers/protobuf/releases/download/v3.9.1/protoc-3.9.1-win64.zip

yasm Download

npm install

D:\gprojects\RemoteDevice>npm rebuild

> bufferutil@1.3.0 install D:\gprojects\RemoteDevice\node_modules\bufferutil
> node-gyp rebuild


D:\gprojects\RemoteDevice\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )


#   执行:https://gist.github.com/jtrefry/fd0ea70a89e2c3b7779c
npm install -g node-gyp
npm install -g socket.io

npm install -g bower


一直卡在这个问题上了:

node-gpy到底是干嘛的

node-gyp#installation

Microsoft/nodejs-guidelines

这三个链接看起来是有关系

主要是 zeromq在windows环境下一直没跑起来——解决这个核心问题先

 
comments powered by Disqus