我正在尝试编译第三方代码以添加到节点上。我有node:0.10.12,node-gyp:0.10.6; 我安装了节点的二进制版本,而不是进行编译。
运行“ node-gyp configure build”时,出现超时错误,因为我在防火墙后面并使用代理服务器:
node-gyp configure build
gyp info it worked if it ends with ok
gyp info using node-gyp@0.10.6
gyp info using node@0.10.12 | linux | x64
gyp http GET http://nodejs.org/dist/v0.10.12/node-v0.10.12.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: connect ETIMEDOUT
gyp ERR! stack at errnoException (net.js:901:11)
gyp ERR! stack at Object.afterConnect [as oncomplete] (net.js:892:19)
gyp ERR! System Linux 2.6.32-279.el6.x86_64
gyp ERR! command "node" "/usr/bin/node-gyp" "configure" "build"
gyp …Run Code Online (Sandbox Code Playgroud) 我将我的MONGO_URL设置为mongodb:// localhost:27017/meteor并将MongoDB作为服务运行.
在运行我的项目时,似乎可以将数据存储到单独的MongoDB,直到我尝试运行流星重置.
我的假设是它试图删除它的默认数据库.错误抱怨myproject.meteor\local不为空并指向fs.js:456,它转到files.js:256(rm_recursive),依此类推.
知道我能解决这个问题的方法和方法吗?