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 #522

Open
shakna-israel opened this issue Dec 10, 2024 · 1 comment
Open

Error: EPERM #522

shakna-israel opened this issue Dec 10, 2024 · 1 comment

Comments

@shakna-israel
Copy link

Error: EPERM reported for directories I really wouldn't expect Inky to be watching, but apparently doesn't have permission for.

This breaks the web view, and export.

Platform: Windows 11 23H2 22631.4460
Inky version: 0.15.1
ink version: 1.2.0
inkjs version: 2.2.3

Screenshot 2024-12-10 193922

node:internal/errors:563 Uncaught (in promise) Error: EPERM: operation not permitted, watch 'C:\Users\jmilne\Documents\My Music'
    at __node_internal_captureLargerStackTrace (node:internal/errors:563:5)
    at __node_internal_uvException (node:internal/errors:619:10)
    at FSWatcher.<computed> (node:internal/fs/watchers:247:19)
    at Object.watch (node:fs:2473:36)
    at createFsWatchInstance (C:\Users\jmilne\Down…s-handler.js:119:15)
    at setFsWatchListener (C:\Users\jmilne\Down…s-handler.js:166:15)
    at NodeFsHandler._watchWithNodeFs (C:\Users\jmilne\Down…s-handler.js:331:14)
    at NodeFsHandler._handleDir (C:\Users\jmilne\Down…s-handler.js:567:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async NodeFsHandler._addToNodeFs (C:\Users\jmilne\Down…s-handler.js:617:16)
node:internal/errors:563 Uncaught (in promise) Error: EPERM: operation not permitted, watch 'C:\Users\jmilne\Documents\My Pictures'
    at __node_internal_captureLargerStackTrace (node:internal/errors:563:5)
    at __node_internal_uvException (node:internal/errors:619:10)
    at FSWatcher.<computed> (node:internal/fs/watchers:247:19)
    at Object.watch (node:fs:2473:36)
    at createFsWatchInstance (C:\Users\jmilne\Down…s-handler.js:119:15)
    at setFsWatchListener (C:\Users\jmilne\Down…s-handler.js:166:15)
    at NodeFsHandler._watchWithNodeFs (C:\Users\jmilne\Down…s-handler.js:331:14)
    at NodeFsHandler._handleDir (C:\Users\jmilne\Down…s-handler.js:567:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async NodeFsHandler._addToNodeFs (C:\Users\jmilne\Down…s-handler.js:617:16)
node:internal/errors:563 Uncaught (in promise) Error: EPERM: operation not permitted, watch 'C:\Users\jmilne\Documents\My Videos'
    at __node_internal_captureLargerStackTrace (node:internal/errors:563:5)
    at __node_internal_uvException (node:internal/errors:619:10)
    at FSWatcher.<computed> (node:internal/fs/watchers:247:19)
    at Object.watch (node:fs:2473:36)
    at createFsWatchInstance (C:\Users\jmilne\Down…s-handler.js:119:15)
    at setFsWatchListener (C:\Users\jmilne\Down…s-handler.js:166:15)
    at NodeFsHandler._watchWithNodeFs (C:\Users\jmilne\Down…s-handler.js:331:14)
    at NodeFsHandler._handleDir (C:\Users\jmilne\Down…s-handler.js:567:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async NodeFsHandler._addToNodeFs (C:\Users\jmilne\Down…s-handler.js:617:16)

The tiny in-progress story that triggered it, though I wouldn't expect it to be the root cause: here.

@shakna-israel
Copy link
Author

Seems like chokidar has had this issue a few times, always related to the Windows platform.

In almost all cases, the only people saying they've resolved the issue have been people moving to a different dependency, which isn't exactly helpful.

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