Open kolinhar opened 5 years ago
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
Same issue here. Seems like the repo is not maintained anymore.
Yeah, got the same issue, I recommend to look at https://github.com/jprichardson/node-fs-extra as alternative.
When I run the first time this code with these options, it works correctly.
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