mikedeboer / jsDAV

jsDAV allows you to easily add WebDAV support to a NodeJS application. jsDAV is meant to cover the entire standard, and attempts to allow integration using an easy to understand API.
http://www.mikedeboer.nl
MIT License
681 stars 159 forks source link

jsDAV not working on Windows #138

Open drywolf opened 8 years ago

drywolf commented 8 years ago

Hi,

I just tried to get jsDAV running on Windows (7) and ran into compilation trouble when using NPM v3 ...

..\ext\bson.cc(397): error C3861: 'New': identifier not found [jsDAV\node_modules\bson\build\bson.vcxproj]
..\ext\bson.cc(411): error C2660: 'v8::Object::New' : function does not take 0 arguments [jsDAV\node_modules\bson\build\bson.vcxproj]
..\ext\bson.cc(424): error C2664: 'bool v8::Object::Has(uint32_t)' : cannot convert argument 1 from 'v8::Persistent<v8::String,v8::NonCopyablePersistentTraits<T>>' to 'v8::Handle<v8::Value>' [jsDAV\node_modules\bson\build\bson.vcxproj]

Looks like a problem with the bson module (a libv8 version mismatch proably)

With NPM v2 I didn't get these problems, but got stuck on another issue about gnu-tools not being available on Windows...

Error: Cannot find module 'gnu-tools'

Am I doing something terribly wrong to get those errors ? Or is Windows currently not a supported platform for jsDAV ? (I might be able to help out by maintaining windows support if it is needed)

Regards

jurepetrovic commented 4 years ago

This is the same thing I am fighting with in some legacy code. Is there any other option?