(node-gyp rebuild 2> builderror.log) || (exit 0) 是什么问题?
发布于 14天前 作者 SeniorZhai 152 次浏览 来自 问答

package.json是这样的

{
  "name": "blog",
  "version": "0.0.0",
  "private": true,
  "scripts": {
    "start": "node ./bin/www"
  },
  "dependencies": {
    "express": "~4.11.0",
    "body-parser": "~1.10.1",
    "cookie-parser": "~1.3.3",
    "morgan": "~1.5.1",
    "debug": "~2.1.1",
    "ejs": "~2.1.4",
    "mongodb": "1.4.15",
    "serve-favicon": "~2.2.0",
    "express-session": "1.9.1",
    "connect-mongo": "0.4.1"

  }
}

npm install后卡在这里了

> [email protected] install /Users/username/Desktop/blog/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos
> (node-gyp rebuild 2> builderror.log) || (exit 0)
回到顶部