Problem with using rmdir module #127

Open
ckyou opened this Issue Nov 7, 2016 · 0 comments

Projects

None yet

1 participant

@ckyou
ckyou commented Nov 7, 2016

Hi,

I'm trying to use rmdir in my project, but found that always got error when call it.

Here is a simple example

var rmdir = require('rmdir');

rmdir('/tmp/some-dir', err=>{
    if(err){
        console.log(err)
    }
    console.log('success');
});

After compile it (using enclose full version) and run, will get this error

undefined:0



TypeError: object is not a function
    at FSReqWrap.oncomplete (e:0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment