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

Error: EPERM: operation not permitted, rename '_update-4.0.0.zip' -> 'update-4.0.0.zip' #17

Open
greghesp opened this issue Dec 27, 2020 · 0 comments

Comments

@greghesp
Copy link

This seems to happen on Windows machines. I've tried running cmd as admin, but it didn't make much difference

internal/fs/utils.js:308
    throw err;
    ^

Error: EPERM: operation not permitted, rename '_update-4.0.0.zip' -> 'update-4.0.0.zip'
    at Object.renameSync (fs.js:772:3)
    at WriteStream.<anonymous> (C:\Users\Greg\Downloads\assistant-relay-4\node_modules\auto-updater\auto-updater.js:499:10)
    at WriteStream.emit (events.js:327:22)
    at finish (_stream_writable.js:657:10)
    at finishMaybe (_stream_writable.js:644:9)
    at _stream_writable.js:617:7
    at WriteStream._final (internal/fs/streams.js:355:3)
    at callFinal (_stream_writable.js:610:10)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  errno: -4048,
  syscall: 'rename',
  code: 'EPERM',
  path: '_update-4.0.0.zip',
  dest: 'update-4.0.0.zip'
}
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

1 participant