Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

callback not called #131

Open
kolinhar opened this issue Aug 29, 2018 · 2 comments
Open

callback not called #131

kolinhar opened this issue Aug 29, 2018 · 2 comments

Comments

@kolinhar
Copy link

kolinhar commented Aug 29, 2018

When I run the first time this code with these options, it works correctly.

ncp.limit = 5;
ncp.clobber = true;

ncp("C:\\Workspaces\\myFolder", "C:\\Users\\me\\backup", err => {
    if (err) {
        return console.error(err);
    }
    console.log("Done!");
});

But the second time the callback is never called, I had to remove the destination folder content to make it work.

npm -v: 5.6.0
node -v: v8.10.0

@sundowndev
Copy link

Same issue here. Seems like the repo is not maintained anymore.

@bartlomiejzuber
Copy link

Yeah, got the same issue, I recommend to look at https://github.com/jprichardson/node-fs-extra as alternative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants