I've since installed MS Visual C++ Express 2010 and tried again. Now different errors:
C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\bson>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\no
de-gyp\bin\node-gyp.js" rebuild
kerberos.cc
worker.cc
security_credentials.cc
security_buffer.cc
bson.cc
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(179): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
with
[
T=v8::Object
]
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
with
[
T=v8::Object
]
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
with
[
T=v8::FunctionTemplate
]
security_buffer_descriptor.cc
security_context.cc
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\bson\build\bson.vcxproj]
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(218): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
with
[
T=v8::Object
]
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(218): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
with
[
T=v8::FunctionTemplate
]
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(179): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
with
[
T=v8::Object
]
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(179): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
with
[
T=v8::FunctionTemplate
]
..\ext\bson.cc(547): warning C4244: 'argument' : conversion from 'int64_t' to 'double', possible loss of data [C:\Users\xxx\AppData\Roaming\npm\node_modules\
mongodb\node_modules\bson\build\bson.vcxproj]
..\ext\bson.cc(308): warning C4267: 'initializing' : conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\xxx\AppData\Roaming\npm\node_mod
ules\mongodb\node_modules\bson\build\bson.vcxproj]
..\ext\bson.cc(137) : while compiling class template member function 'void BSONSerializer<T>::SerializeValue(void *,const v8::Handle<v8::Value> &)'
with
[
T=CountStream
]
..\ext\bson.cc(83) : while compiling class template member function 'void BSONSerializer<T>::SerializeDocument(const v8::Handle<v8::Value> &)'
with
[
T=CountStream
]
..\ext\bson.cc(844) : see reference to class template instantiation 'BSONSerializer<T>' being compiled
with
[
T=CountStream
]
..\ext\bson.cc(308): warning C4267: 'initializing' : conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\xxx\AppData\Roaming\npm\node_mod
ules\mongodb\node_modules\bson\build\bson.vcxproj]
..\ext\bson.cc(137) : while compiling class template member function 'void BSONSerializer<T>::SerializeValue(void *,const v8::Handle<v8::Value> &)'
with
[
T=DataStream
]
..\ext\bson.cc(83) : while compiling class template member function 'void BSONSerializer<T>::SerializeDocument(const v8::Handle<v8::Value> &)'
with
[
T=DataStream
]
..\ext\bson.cc(853) : see reference to class template instantiation 'BSONSerializer<T>' being compiled
with
[
T=DataStream
]
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\bson\build\bson.vcxproj]
with
[
T=v8::Object
]
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\bson\build\bson.vcxproj]
with
[
T=v8::FunctionTemplate
]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
LINK : fatal error LNK1181: cannot open input file 'kernel32.lib' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\bson\build\bson.vcxproj
]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(218): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
with
[
T=v8::Object
]
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(218): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
with
[
T=v8::FunctionTemplate
]
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(179): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
with
[
T=v8::Object
]
C:\Users\xxx\.node-gyp\0.10.5\deps\v8\include\v8.h(179): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handl
e<T>)' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj]
with
[
T=v8::FunctionTemplate
]
kerberos_sspi.c
base64.c
LINK : fatal error LNK1181: cannot open input file 'kernel32.lib' [C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos\build\kerberos
.vcxproj]
Absolutely no idea what's going on now :/