vatesfr / xen-orchestra

The global orchestration solution to manage and backup XCP-ng and XenServer.
https://xen-orchestra.com
Other
782 stars 264 forks source link

[xo-server] Remove level-party dependency #2862

Closed julien-f closed 4 years ago

julien-f commented 6 years ago

Very old, not up to date with latest level release, cause some issues.

https://github.com/Level/awesome#shared-access

Ezka77 commented 6 years ago

Hello Julien, I was struggling with an error on the build process of the community edition with a recent nodejs : the yarn command continuously fail with level-party module, it bring back an old version of leveldown which cannot be build with the last nodejs.

Here the dependency:

=> Found "level-party#leveldown@1.7.2"
info Reasons this module exists
   - "_project_#xo-server#level-party#level" depends on it
   - Hoisted from "_project_#xo-server#level-party#level#leveldown"

Until it's fixed, CE is stuck with nodejs v6.

julien-f commented 6 years ago

Hi,

We are aware of this problem and unfortunately it's not easy to fix, maybe by reimplementing level-party ourselves but it's still a lot of work :confused:

Anyway, it's compatible with Node 8 (current LTS), you don't have to stay on 6.

Ezka77 commented 6 years ago

Humm you're right ! I don't remember why I was stuck with the 6 ; It work just fine with the 8 now.

julien-f commented 4 years ago

This dependency has been updated in 5142bf433 and is no longer a problem.