overmind icon indicating copy to clipboard operation
overmind copied to clipboard

Weird interaction with asdf version manager

Open harmdewit opened this issue 5 years ago • 2 comments
trafficstars

When trying to start an application with overmind s I got this error message: overmind: Can't find tmux. Did you forget to install it?. Of course I do have tmux installed so the message is incorrect.

Turns out that the issue is caused due to some interaction with the asdf-vm: https://asdf-vm.com/#/. I was missing a specific Node version specified in .node-version. After I removed the file or installed the correct version overmind s ran correctly again.

Installed versions

  • Overmind v2.1.0
  • Tmux 3.0a
  • asdf v0.7.6

harmdewit avatar Jan 30 '20 15:01 harmdewit

Overmind does nothing fancy here, it just runs which tmux and expects it to run without errors: https://github.com/DarthSim/overmind/blob/master/start/command.go#L148-L150. If Overmind can't find tmux, try to run which tmux yourself.

DarthSim avatar Feb 03 '20 08:02 DarthSim

Just adding a comment in case someone comes here from google with the same error overmind: Can't find tmux. Did you forget to install it? but it's nothing to do with node/asdf.

This was my journey:

$ overmind start
overmind: Can't find tmux. Did you forget to install it?

no I didn't

$ which tmux
/usr/bin/tmux

ok, but on closer inspection, overmind actually runs this

$ tmux -V
tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968

bingo! That's why overmind was exiting. Fixed by running

$ sudo apt install locales-all

Now tmux -V exits cleanly, so overmind can run just fine!

teaforchris avatar May 04 '22 14:05 teaforchris