random-access-storage/random-access-file

Fully don't work with ElectronAPI.

MairwunNx opened this issue · 3 comments

image

When try read file as: console.log(file.read(551846, 4, 'err')) it caused error.
Please, fix it, library good, but i don't can it use because it not work. Thanks for attention.

@pvh is using a fork of random-access-file for the "pushpin" app because of this issue. Since Electron imports libraries like a web browser does, random-access-file raises the "random-access-file is not supported in the browser" error even though it is supported and can be used in Electron.

See pvh@4f88c02

Ahh, just noticed PR #21

We use the --node flag to the bundler