jsDAV icon indicating copy to clipboard operation
jsDAV copied to clipboard

jsDAV not working on Windows

Open drywolf opened this issue 8 years ago • 1 comments

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

drywolf avatar Oct 08 '15 11:10 drywolf

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

jurepetrovic avatar Mar 06 '20 09:03 jurepetrovic