按照官网上的做法,我通过 npm install nw-gyp -g 安装好 nw-gyp,然后开始进行sqlite3的编译工作。
在编译之前,还需要安装python2.7,Visual C++ 2010 Express,Visual Studio 2010 SP1 ,把这些环境安装好后输入官方提供的 npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=x64 --target=0.14.6 以及进入到./node_modules/sqlite3 下输入 npm install --build-from-source --runtime=node-webkit --target_arch=x64 --target=0.14.6这两个方法均以失败告终
在网上找也找不到答案,希望有人能告诉我这个问题的解决方法
https://github.com/mapbox/nod...
sqlite3应该没有arch=x64的设置
你系统是64位的吗