When you’re talking to an open source dev, just remember that they are literally giving you their time for free, and they are people who don’t like to be treated poorly.
Edit: Just to be clear, I don’t mean any ill will toward the guy. He’s frustrated and he’s just taking it out in the wrong venue at the wrong people, but that doesn’t mean he’s a bad person.
Edit 2: The reinstalling he’s talking about is NPM. So just running npm install
. It’s because he tried removing the node_modules
directory, which is a reasonable thing to do, but it means you need to reinstall the modules with that command.
Don’t be that second guy, use Nix.
I agree with OP, but the whole confrontation could’ve been avoided in the first place if all dependencies were spelled out to the letter in the form of a flake.nix with the latest accompanying flake.lock file.
@AlmightySnoo @Ashiette us for USA or for us? :stallman:
Yes, but one of our promises is real… Just a real pain in the ass sometimes.
It’s a frontend JavaScript UI library. I can’t control what other dependencies people install alongside my library, or even whether they follow my library’s dependency list.
Isn’t package.json for controlling what dependency versions people install with?
I think I’m missing something.
Yes, and I have a package.json that lists dependencies and the versions I test with. You can force a different version though. I don’t think that’s what happened here. I’m guessing it’s a version of some dependency that should work, because it was released as a minor version within the range I specified, but doesn’t actually work.
It could also be an issue with the build system/bundler, which I can’t really control either.
Yeah JavaScript is a horrible language and ecosystem in a lot of ways, but package.json and friends don’t really give me much trouble.
And even if you hose something, you should be able to clear it out and reinstall easily.
I’m assuming the maintainer didn’t (knowingly) make a breaking change in a minor/patch release. That’s a high crime.
I think it’s funny. We are the new “I use Arch, BTW” and I’m happy to embrace it.
I just hate having to re-configure all my stuff whenever I set up a new box 🤷
Don’t be the guy who ignores reports that your software doesn’t work with new dependency versions just because you can’t be arsed to test with anything else even if the report looks like a legitimate problem.
I have been testing with the original reporter of the problem. This guy came in, said he had the same problem, then cursed at me.
That was less directed at you and more at the idea that just pinning versions solves the issue which is unfortunately very frequent among proponents of things like vendoring, nix, Docker containers and similar tools that allow a project to stay on an old version for potentially years. Sorry if that came across that way.