C:\Program Files\nodejs\node_modules>npm install mongodb npm http GET https://registry.npmjs.org/kerberos/0.0.3 npm http GET https://registry.npmjs.org/bson/0.1.9 npm http 304 https://registry.npmjs.org/bson/0.1.9 npm http 304 https://registry.npmjs.org/kerberos/0.0.3
kerberos@0.0.3 install C:\Program Files\nodejs\node_modules\mongodb\node_modul es\kerberos (node-gyp rebuild 2> builderror.log) || (exit 0)
C:\Program Files\nodejs\node_modules\mongodb\node_modules\kerberos>node “C:\Prog
ram Files\nodejs\node_modules\npm\bin\node-gyp-bin\…\node_modules\node-gyp
bin\node-gyp.js” rebuild
bson@0.1.9 install C:\Program Files\nodejs\node_modules\mongodb\node_modules\b son (node-gyp rebuild 2> builderror.log) || (exit 0)
C:\Program Files\nodejs\node_modules\mongodb\node_modules\bson>node “C:\Program
Files\nodejs\node_modules\npm\bin\node-gyp-bin\…\node_modules\node-gyp\bin
node-gyp.js” rebuild
碰到同样的问题,楼主现在知道怎么解决这个问题了吗?
我经常npm也是这样的,多试几次就好了