electron-userland / electron-userland/electron-json-storage
Error: EPERM: operation not permitted, open
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
I'm getting the above error on Windows while using `electron-json-storage:4.1.2`
I'm building an import procedure which does a large number of requests inside of a single `Promise.all`, and `storage.get` is being used inside of electron's `session.webRequest.onBeforeSendHeaders` (as an authentication mechanism)

I think this has to do with the concurrency in the event loop. There's a lot of calls on `storage.get` that stack up before getting resolved.
Only solution I can think of is that I implement a lazy cache somewhere, which I will probably end up doing. But I was wondering if this is a known limitation/issue of `electron-json-storage`.
Thanks,
Waddles
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.