You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After several hours of debugging, I finally found the problem
The reason is:sharedb-postgres Depends on the 7.x version of the pg library. But the 7.x pg library does not support Node.js 14 version.
So I cloned sharedb-postgres and re-modified the pg dependency to 8.x
sharedb is a very great library, but I encountered some problems in using it. The code is in the ubuntu system
When using docIns.fetch, the callback is not executed.
My test code is as follows
Executing the code, the output I get in the console is:
The strangest thing is that this code is executed on the local mac computer and everything is normal
Mac execution output is as follows:
In addition, I just tested the windows system, it is the same problem
Excuse me, am I missing something? Thanks
The text was updated successfully, but these errors were encountered: