New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation is (still) failing #2
Comments
Let's simplify this a bit. What versions of node and npm are you using? And are you still able to successfully install this package with them? Or does it crash for you, too? |
Nope, it's a different error.
This is the relevant line. The user you're executing
Using
Your judgement is inaccurate. In fact, in many Node projects, many of the complaints about failing installs are because of outdated Node versions shipping with distros. Check request/request#2772 for a lengthy discussion on this. I personally use the NodeSource package sources on Linux. Secondly, the term dependendy hell actually refers to a different term than what you are talking about. |
I comes down to getting native builds to work. LevelDB is native code and therefore it's wrapping Node library If you get the |
How is this possible? Not only did I run the command as root, but take a look:
There is clearly nothing wrong with the directory. It exists, is owned by me, and has full read write permissions. However, I just tried a run without sudo and this happened:
So not only does the compile fail due to errors in the source code, but it's saying something about Thoughts? |
Interesting. Other possible reasons that come to my mind: Maybe there are ACLs on the directory? The
You can ignore this (it has a |
The We can try one thing though: I will upgrade it to the latest version so we can have a look if the |
Please try again with |
btw what are you trying to do with this tool? are you aware that it is really basic, hacked together quickly? |
No luck
I'm trying to transfer save data from the browser version of a game to its desktop version. After some investigation, I uncovered that the game was using indexeddb, so I used |
The irony is that now the itch client has broken on me as well, so even if I transfer the data, I can't even play the game on the desktop, so this was all for nothing. 10 hours of I.T. nightmare for nothing. Yeah. A new update makes itch depend on some stupid package called dependency butler. The problem is, well, aside from the blatant NIH-syndrome itch-dev seems to be suffering from, that it won't even download, and they didn't even think to put this process in the background so you could actually use the software. I'm just fucking speechless. I'm probably wrong about what's wrong with it, too. All I know is that this is the first time I've seen this dependency butler shit show up, and the app won't work any more because it hangs on that screen for eternity. |
Pay attention to the error. This is the permission error you've had before.
Again, try to fix the permissions of your I will try to sum it up:
You may instead want to try
As much as I'm willing to show you that the common Node-based tool can be installed easily (and that most of the fuckups are related to permissions or outdated Node versions), this can be solved more practically: Why don't you use the LevelDB library of your favourite language? With a quick search I've found some for Python, for Go (and another), for Rust and the plain C++ lib. |
@derhuerst Huh. I thought deleting That said, trying to install it globally ( On an unrelated note, the program crashes when I try to open a database. I'll post a separate issue for that. I'll leave whether or not to close this issue up to you, but urge you to keep in mind how difficult a time I had getting it to work, and maybe put some information in the readme's installation section that addresses this. Because I will say that my first attempt to install followed the guide to the letter (sudo=yes). And evidently, the install failed because I was using So to sum up, so it doesn't sound like I'm ranting at you, I think you should consider putting a notice in the installation instructions mentioning the node and npm versions a user should be using, because if the user is on ubuntu (or another distro with an outdated nodejs package), they are most likely going to also experience a failed install just as I did. Unless I'm wrong and node auto updates itself and I just got fucked over because I happened to be in an obscure edge case of users who installed an unusual version on of node their own. Okay maybe I am ranting. Anyways, I'll see you on the other issue. |
Depends on how you installed all of those other tools. Read up on how npm installs things.
Great!
I should probably delete this from the readme. People complain in this case as well, but it messes up with the system less.
As I said, it's very very uncommon in the Node ecosystem to use
As I said before:
Every Node project would have to do this, just because Ubuntu (or Debian actually) decided not to ship recent Node versions. This is not the proper place to address the problem. Also, as I said above: A more general point: I've hacked this project together in 8 commits in about an hour, back in August. Since then, I haven't touched it until now. It is a small tool I've written for myself, not a polished tool that promises to be usable for everyone; In fact, it probably has a few bugs. While I have the motivation to keep my projects as working-out-of-the-box and beginner-friendly as possible, I simply can't to this for all of them. I usually try to document the basic stuff and hope that people will complain if something doesn't work, so I can fix it or help them. In this specific case, a few issues came together:
|
So I've tried the following versions of node:
v9.0.0-pre
- the original issuev4.2.6
(via ubuntu repo) - too old, fails on a syntax errorv7.10
- reasonably recent seeming version (people have reported 7.x working on forums back in 2017 IIRC) -- npm says it "doesn't support" this version and crashesv10.0.0
- the latest version of node, fails like so:--
Looks similar to the failure from
v9.0.0-pre
I don't think it's reasonable to have to try four different versions of node and have them all fail. Further, I can't find any information on what version
level
does support. Why isn't this information on the README.md of this project?This is actually worse than trying to install a project on a system with both python2 and 3. I have never seen dependency hell this bad in a package manager what's sole purpose is to avoid dependency hell
The text was updated successfully, but these errors were encountered: