Closed y-lohse closed 6 years ago
@y-lohse the build on travis is red. It looks like leveldown is not correctly installed (it is a compiled module). I think you can try to increase node version in travis.yml (6 -> 8) and to have a single version of leveldown in yarn.lock
.
@nono it seems that there are indeed 2 versions of leveldown, one comes from pouch, the other from cozy-data-system which I had never heard about 😮.
Still not sure how to resolve that, and why there wouldn't be any bindings at all…
Cozy-data-system is for Cozy v2 (nodejs). I think we can remove Cozy v2 stuff from this repository. The other options are:
and why there wouldn't be any bindings at all…
I think that when there are several versions of the same module, yarn use a different layout on the file system. The JS files are still found, but not the bindings.
I'd like to upgrade the PouchDB dependencies here, mainly because pouchdb-find on its current version has abyssal performances (at least compared to the newer version).
If I'm not mistaken, this change shouldn't have any effect outside of Drive, since I think it's the only app that uses the offline module. Am I wrong?