Skip to content
This repository has been archived by the owner on Dec 10, 2020. It is now read-only.

Dependency installation fails on Node 10 / Update leveldown, levelup versions #53

Closed
holgerd77 opened this issue Oct 4, 2018 · 8 comments

Comments

@holgerd77
Copy link
Member

Just tried to reinstall dependencies from within my local GitHub repository with npm install with Node v10.9.0, this is failing due to an error in the leveldown installation procedure.

I am not re-stating the error here, I think the issue is that we are in general using pretty outdated (in the library ^1.9.0, latest version v4.0.1) leveldown and levelup versions here and also in the ethereumjs-blockchain and merkle-patricia-tree libraries.

@vpulim: can you maybe take a look at this on a broader level? I already stumbled on this several times, but I am not really a leveldb expert and can't really judge how much changed throughout the major version updates and how this affects DB compatibility.

@vpulim
Copy link
Contributor

vpulim commented Oct 9, 2018

@holgerd77 yes, we definitely need to update the levelup/down modules to more recent versions. I believe there was a breaking change in one of the recent versions, but I will take look and try to get the EthereumJS libraries updated.

@pzagor2
Copy link

pzagor2 commented Oct 31, 2018

Do we need to update levelup and memdown in the ethereumjs-blockchain library as well?

If that is something we need to do, I can take a look at it.

@vpulim
Copy link
Contributor

vpulim commented Nov 2, 2018

@pzagor2 Yes, that would be great! Thanks. If its useful, here are the changes I made to the merkle-patricia-tree library: ethereumjs/merkle-patricia-tree#56

@aunyks
Copy link
Contributor

aunyks commented Dec 5, 2018

Happy to see this getting some attention! This error during npm install is what kept me from contributing for a while 😅 .

@vpulim
Copy link
Contributor

vpulim commented Dec 6, 2018

@aunyks Are you still seeing this error? I'm not able to reproduce it using node 10.4.0

@aunyks
Copy link
Contributor

aunyks commented Dec 7, 2018

@vpulim I haven't seen it recently since I'm on v11.1.0. I was seeing it on ~v8, however.

@vpulim
Copy link
Contributor

vpulim commented Dec 12, 2018

Ok thx @aunyks. The ethereumjs-blockchain and merkle-patricia-tree libraries have both been updated to use recent versions of level modules. I haven't been able to reproduce this with node version 8, 9, 10 or 11 so I'm going to close out this issue.

@vpulim vpulim closed this as completed Dec 12, 2018
@holgerd77
Copy link
Member Author

Just as a note: merkle-patricia-tree hasn't been released yet though with the level DB updates.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants