Hi Roger

It should still work as "kerberos" is an optional dependency:
https://github.com/mongodb/node-mongodb-native/blob/master/package.json#L79.
Admittedly the npm output doesn't make it clear that the module can still
function "mongodb" because it's an optional dependency.

As Jeroen said you need to have the right setup for native modules to work
today for windows i.e. python and the right version of VS Express / VS
installed.

On the plus side I can say we are working on a better story and very soon
"mongodb" should just work on windows without requiring to build anything.


On Fri, Aug 30, 2013 at 7:55 AM, Roger Tremblay <[email protected]> wrote:

> Thanks Jeroen, I thought I did have all that was required but will double
> check. Many thanks!
>
> Roger Tremblay
>
> On Thursday, 29 August 2013 15:25:26 UTC-4, Jeroen Janssen wrote:
>
>> Hi,
>>
>> So it seems it fails while trying to actually build 64bit native modules.
>> Building (native) modules is done through node-gyp: https://github.com/**
>> TooTallNate/node-gyp <https://github.com/TooTallNate/node-gyp>
>>
>> Since you are getting a failure about x64 I am assuming that you are
>> actually running on a 64bit machine?
>> If so, can you verify that you have installed the items listed on the
>> node-gyp page related to Windows 7 64-bit building and try again?
>>
>> Hopefully that will solve your problem.
>>
>> Best regards,
>>
>> Jeroen Janssen
>>
>> Op donderdag 29 augustus 2013 16:19:30 UTC+2 schreef Roger Tremblay:
>>>
>>> Hey there, pretty new to node and even newer to mongodb but loving it so
>>> far.
>>>
>>> I had a hell of a night trying to get around two build errors last night
>>> while trying to install mongodb. I don't have my errors to paste but these
>>> are the exact ones I was getting only in my environment:
>>>
>>>
>>> $ npm install mongodb
>>> npm http GET https://registry.npmjs.org/**mongodb 
>>> <http://registry.npmjs.org/mongodb>
>>> npm http 304 https://registry.npmjs.org/**mongodb 
>>> <http://registry.npmjs.org/mongodb>
>>> npm http GET https://registry.npmjs.org/**bson/0.1.9 
>>> <http://registry.npmjs.org/bson/0.1.9>
>>> npm http GET https://registry.npmjs.org/**kerberos 
>>> <http://registry.npmjs.org/kerberos>
>>> npm http 304 https://registry.npmjs.org/**bson/0.1.9 
>>> <http://registry.npmjs.org/bson/0.1.9>
>>> npm http 304 https://registry.npmjs.org/**kerberos 
>>> <http://registry.npmjs.org/kerberos>
>>> > [email protected] install 
>>> > c:\Users\Ludicritz\Desktop\**Umass-running-app\node_**modules\mongodb\node_modules\**kerberos>
>>> >  (node-gyp rebuild 2> builderror.log) || (exit 0)
>>>
>>>
>>> c:\Users\Ludicritz\Desktop\**Umass-running-app\node_**modules\mongodb\node_modules\**kerberos>node
>>>  "c:\Program Files\nodejs\node_modules\npm\**bin\node-gyp-bi
>>> n\\..\..\node_modules\node-**gyp\bin\node-gyp.js" rebuild
>>> > [email protected] install 
>>> > c:\Users\Ludicritz\Desktop\**Umass-running-app\node_**modules\mongodb\node_modules\**bson>
>>> >  (node-gyp rebuild 2> builderror.log) || (exit 0)
>>>
>>>
>>> c:\Users\Ludicritz\Desktop\**Umass-running-app\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
>>> C:\Program Files 
>>> (x86)\MSBuild\Microsoft.Cpp\v4**.0\Microsoft.Cpp.InvalidPlatfo**rm.Targets(23,7):
>>>  error MSB8007: The Platform for project 'kerberos.vcxp
>>> roj' is invalid.  Platform='x64'. You may be seeing this message because 
>>> you are trying to build a project without a solution file, and have specifie
>>> d a non-default Platform that doesn't exist for this project. 
>>> [c:\Users\Ludicritz\Desktop\**Umass-running-app\node_**modules\mongodb\node_modules\**kerbero
>>> s\build\kerberos.vcxproj]
>>> C:\Program Files 
>>> (x86)\MSBuild\Microsoft.Cpp\**v4.0\Microsoft.Cpp.**InvalidPlatform.Targets(23,7):
>>>  error MSB8007: The Platform for project 'bson.vcxproj'
>>>  is invalid.  Platform='x64'. You may be seeing this message because you 
>>> are trying to build a project without a solution file, and have specified a
>>> non-default Platform that doesn't exist for this project. 
>>> [c:\Users\Ludicritz\Desktop\**Umass-running-app\node_**modules\mongodb\node_modules\**bson\build\
>>> bson.vcxproj]
>>> [email protected] node_modules\mongodb├── [email protected]└── [email protected]
>>>
>>>
>>> I searched high and low and anything suggested failed for me. Any
>>> chance someone there is someone out there that can help be solve this? I
>>> was able to code with what installed but the builds are broken and
>>> I'm guessing I'll need what's broken if it's a dependency.
>>>
>>> Help and thanks!
>>>
>>> Roger
>>>
>>  --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to