Reputation: 119
Windows 8.1
Express starting point using Git Bash
Doing an npm install with python 2.7.10 to avoid 3.4 problems
Is there a problem with the C compiler?
How do I fix it?
package.json:
{
"name": "nodeauth",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"body-parser": "~1.13.2",
"cookie-parser": "~1.3.5",
"debug": "~2.2.0",
"express": "~4.13.1",
"jade": "~1.11.0",
"morgan": "~1.6.1",
"serve-favicon": "~2.3.0",
"mongodb": "*",
"mongoose": "*"
}
}
The following log is for inclusion of mongodb and mongoose ... I had similar warnings when just including mongodb:
$ npm install --python=c:\python27\python - > [email protected] install e:\nodejs\_projects\nodeauth\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos > (node-gyp rebuild 2> builderror.log) || (exit 0) e:\nodejs\_projects\nodeauth\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos>if not defined npm_config_node_gyp (node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (nod e\ rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. kerberos.cc worker.cc security_buffer.cc security_buffer_descriptor.cc security_context.cc security_credentials.cc C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\lib\win32\wrappers\security_buffer.cc) [e:\nodejs\_projects\nodeauth\node_modules\mong odb\node_modules\mongodb-core\node_modules\kerberos\build\kerberos.vcxproj] -C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\lib\win32\wrappers\security_context.cc) [e:\nodejs\_projects\nodeauth\node_modules\mon C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\lib\win32\wrappers\security_buffer_descriptor.cc) [e:\nodejs\_projects\nodeauth\node_m odules\mongodb\node_modules\mongodb-core\node_modules\kerberos\build\kerberos.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\lib\win32\wrappers\security_credentials.cc) [e:\nodejs\_projects\nodeauth\node_modules \mongodb\node_modules\mongodb-core\node_modules\kerberos\build\kerberos.vcxproj] base64.c kerberos_sspi.c Creating library e:\nodejs\_projects\nodeauth\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos\build\Relea se\kerberos.lib and object e:\nodejs\_projects\nodeauth\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos\buil d\Release\kerberos.exp Generating code Finished generating code kerberos.vcxproj -> e:\nodejs\_projects\nodeauth\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos\build\Relea se\\kerberos.node npm WARN installMany nopt was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany npmlog was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany request was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany semver was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany tar was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany tar-pack was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany mkdirp was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany rc was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany rimraf was bundled with [email protected], but bundled package wasn't found in unpacked tree > [email protected] install e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\mongodb\node_modules\mongodb-core\node_mod ules\kerberos > (node-gyp rebuild 2> builderror.log) || (exit 0) \ e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos>if not defin ed npm_config_node_gyp (node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js " rebuild ) else (node rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. kerberos.cc worker.cc security_buffer.cc security_buffer_descriptor.cc security_context.cc security_credentials.cc C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\lib\win32\wrappers\security_buffer.cc) [e:\nodejs\_projects\nodeauth\node_modules\mong oose\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos\build\kerberos.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\lib\win32\wrappers\security_buffer_descriptor.cc) [e:\nodejs\_projects\nodeauth\node_m odules\mongoose\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos\build\kerberos.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\lib\win32\wrappers\security_context.cc) [e:\nodejs\_projects\nodeauth\node_modules\mon goose\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos\build\kerberos.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\lib\win32\wrappers\security_credentials.cc) [e:\nodejs\_projects\nodeauth\node_modules \mongoose\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos\build\kerberos.vcxproj] base64.c kerberos_sspi.c Creating library e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\mongodb\node_modules\mongodb-core\node_module s\kerberos\build\Release\kerberos.lib and object e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\mongodb\node_mod ules\mongodb-core\node_modules\kerberos\build\Release\kerberos.exp Generating code Finished generating code kerberos.vcxproj -> e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\mongodb\node_modules\mongodb-core\node_module s\kerberos\build\Release\\kerberos.node > [email protected] install e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext > (node-pre-gyp install --fallback-to-build) || (node-gyp rebuild 2> builderror.log) || (exit 0) e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext>if not defined npm_config_node_gyp (node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" clean ) else (node clean ) e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext>if not defined npm_config_node_gyp (node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure --fallback-to-bui ld --module=e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext\build\Release\bson.node --mod ule_name=bson --module_path=e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext\build\Release --python=c:python27python ) else (node configure --fallback-to-build --module=e:\nodejs\_projects\nodeauth\node_modules\mongoose\ node_modules\bson\node_modules\bson-ext\build\Release\bson.node --module_name=bson --module_path=e:\nodejs\_projects\nodeauth\node_m odules\mongoose\node_modules\bson\node_modules\bson-ext\build\Release --python=c:python27python ) e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext>if not defined npm_config_node_gyp (node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" build --fallback-to-build - -module=e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext\build\Release\bson.node --module_ name=bson --module_path=e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext\build\Release ) else (node build --fallback-to-build --module=e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bso n-ext\build\Release\bson.node --module_name=bson --module_path=e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\ node_modules\bson-ext\build\Release ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. bson.cc ..\ext\bson.cc(688): warning C4267: 'argument' : conversion from 'size_t' to 'uint32_t', possible loss of data [e:\nodejs\_projects \nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj] ..\ext\bson.cc(902): warning C4267: 'argument' : conversion from 'size_t' to 'uint32_t', possible loss of data [e:\nodejs\_projects \nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj] e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext\node_modules\nan\nan_new.h(208): warning C4244: 'argument' : conversion from 'int64_t' to 'double', possible loss of data [e:\nodejs\_projects\nodeauth\node_modules\mongoo se\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj] ..\ext\bson.cc(568) : see reference to function template instantiation 'v8::Local NanNew( A0)' being compiled with [ A0=int64_t ] ..\ext\bson.cc(339): warning C4267: 'initializing' : conversion from 'size_t' to 'uint32_t', possible loss of data [e:\nodejs\_proj ects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj] ..\ext\bson.cc(153) : while compiling class template member function 'void BSONSerializer::SerializeValue(voi d *,const v8::Handle,bool)' ..\ext\bson.cc(123) : see reference to function template instantiation 'void BSONSerializer::SerializeValue(v oid *,const v8::Handle,bool)' being compiled ..\ext\bson.cc(103) : while compiling class template member function 'void BSONSerializer::SerializeDocument( const v8::Handle &)' ..\ext\bson.cc(879) : see reference to function template instantiation 'void BSONSerializer::SerializeDocumen t(const v8::Handle &)' being compiled ..\ext\bson.cc(878) : see reference to class template instantiation 'BSONSerializer' being compiled win_delay_load_hook.c Creating library e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext\build\Release\bson .lib and object e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext\build\Release\bson.exp Generating code Finished generating code bson.vcxproj -> e:\nodejs\_projects\nodeauth\node_modules\mongoose\node_modules\bson\node_modules\bson-ext\build\Release\\bson.no de [email protected] node_modules\cookie-parser ├── [email protected] └── [email protected] [email protected] node_modules\debug └── [email protected] [email protected] node_modules\serve-favicon ├── [email protected] ├── [email protected] ├── [email protected] └── [email protected] [email protected] node_modules\morgan ├── [email protected] ├── [email protected] ├── [email protected] └── [email protected] ([email protected]) [email protected] node_modules\body-parser ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ├── [email protected] ([email protected], [email protected]) └── [email protected] ([email protected], [email protected]) [email protected] node_modules\express ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ([email protected]) ├── [email protected] ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) └── [email protected] ([email protected], [email protected]) [email protected] node_modules\jade ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected]) ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) └── [email protected] ([email protected], [email protected], [email protected]) [email protected] node_modules\mongodb ├── [email protected] ├── [email protected] ([email protected], [email protected], [email protected], [email protected]) └── [email protected] ([email protected], [email protected]) [email protected] node_modules\mongoose ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected], [email protected]) └── [email protected] ([email protected]) James@13JY1W1 /E/nodejs/_projects/nodeauth $ npm start > [email protected] start e:\nodejs\_projects\nodeauth > node ./bin/www
Upvotes: 4
Views: 898
Reputation: 106736
There is no error here, the modules installed successfully. The various compiler-related messages are merely warnings, but the compilation was a success.
Upvotes: 6