windows下编译nw.js(Node-webkit)用的sqlite3
必要环境:python 2.7或2.6,不能用3.x;VC编译环境(我测试通过:vs2013)
安装必要的nmp包:
npm install sqlite3 -g
npm install nw-gyp -g
npm install node-pre-gyp -g
npm install node-gyp -g
然后cd到sqlite3目录下,执行:
node-pre-gyp rebuild --...
原创
2019-03-12 22:18:00 ·
619 阅读 ·
0 评论