Closed 4F2E4A2E closed 5 years ago
Hi @4F2E4A2E Thank you for reporting this issue. It seems like this module was used in NodeJS. RxData was designed to be used with web browsers. It depends on some features which are available in web browsers to work properly. Please let us know if this is not the case.
Hi there, thanks for replying. I did try both versions and was hoping that it is nodejs compatible. At least it could be done with very little effort I guess.
Browser dependencies are:
@creately/lschannel
Used to send messages to other open browser windows/tabs about changes. It uses localStorage
and the storage
event to do that.
localForage
Used to store data, uses IndexedDB
and falls back to WebSQL
or localStorage
if it is not available.
To add nodejs compatibility, first these dependencies have to be de-coupled from the code ( not a big effort ) and then we have to find good alternatives which will work on nodejs.
NodeJS support is not a big priority for us right now but we'll consider it for sure.
Using @creately/rxdata:4.3.5 as described in it's readme
delivers following error: