YousefED / SyncedStore

SyncedStore CRDT is an easy-to-use library for building live, collaborative applications that sync automatically.
https://syncedstore.org
MIT License
1.72k stars 51 forks source link

Installation fails #13

Closed kappa90 closed 3 years ago

kappa90 commented 3 years ago

Hi, trying to install the library, I get a dependency failure due to an apparent incompatibility with yjs

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! yjs@13.5.5 dist: `rm -rf dist && rollup -c && tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the yjs@13.5.5 dist script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
YousefED commented 3 years ago

Hi!

Thanks for reporting, two questions:

marsch commented 3 years ago

actually i do experience issues as well, why are you using the patched version of yjs? is there a reason for this?

YousefED commented 3 years ago

@marsch yes, this is described here: https://github.com/yjs/yjs/pull/298. I hope this gets merged soon to make using reactive-crdt more straightforward

YousefED commented 3 years ago

This should be solved in the latest version. We still depend on a yjs fork untill https://github.com/yjs/yjs/pull/298 is merged, but the installation issue should be resolved