sergey icon indicating copy to clipboard operation
sergey copied to clipboard

Deletes folder and can't recreate it

Open karneaud opened this issue 4 years ago • 0 comments

When using sergey to copy over static files and folders I get the error

node:internal/process/promises:246

          triggerUncaughtException(err, true /* fromPromise */);

          ^


[Error: ENOENT: no such file or directory, copyfile './src/README.md' -> './src/../public/README.md'] {

  errno: -2,

  code: 'ENOENT',

  syscall: 'copyfile',

  path: './src/README.md',

  dest: './src/../public/README.md'

}

Node.js v17.3.0

error Command failed with exit code 1.

because sergey empties the output folder to copy over the files but for some reason does not try to recreate the folders.

Can sergey NOT delete folder but just files?

karneaud avatar Jan 13 '22 21:01 karneaud