node-jsondir icon indicating copy to clipboard operation
node-jsondir copied to clipboard

Make win32 compatible

Open watzon opened this issue 8 years ago • 4 comments

Any particular reason why this package isn't win32 compatible? I am using this for a project right now that needs to be cross platform, and I just figured out that it's not going to work.

watzon avatar Sep 15 '16 15:09 watzon

Hmm, I think it was because of mode, umask, owner, group: https://github.com/dwieeb/node-jsondir#attributes

I didn't have any windows system to test on at the time. I might be able to take a look at this in the future.

What happens when you take that thing out in package.json and try it?

imhoffd avatar Sep 15 '16 15:09 imhoffd

@dwieeb Not sure, I'll fork this and give it a try. Thanks for the quick response

watzon avatar Sep 15 '16 16:09 watzon

error

Any update on this? Won't create subfolders on Windows and getting the error "the uid argument must be of type number". I'm not using the "-owner,-group,..." arguments and don't know how to use them. Could you help me out please? Thanks!

borisdebusscher avatar Jan 23 '20 11:01 borisdebusscher

update I just hardcoded the uid and gid with 1000 as value and it works on Windows. What are the consequences? Can I leave it like this?

borisdebusscher avatar Jan 23 '20 14:01 borisdebusscher