-
I've encountered an issue with launching the ttrpg-convert from the MacOS Terminal. It has worked, and I have no clue why it stopped working. Git commands work no issue. So git clone and git pull works fine, no errors. I've installed homebrew CLI 4.2.12 However, when I try to launch ttrpg-convert I get a bash error: command not found. iMac:bin bgr$ pwd Mac:bin bgr$ ls iMac:bin bgr$ ttrpg-convert When I launch the ttrpg-convert directly by double clicking it seems to be recognized as a terminal command: iMac:~ bgr$ /Users/bgr/Documents/010-Documents/DnDRepository/CLI/bin/ttrpg-convert ; exit; completion bash/zsh completion: source <(ttrpg-convert completion) See 'ttrpg-convert --help' for more information. Saving session... [Process completed] What am I doing wrong? :( |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
From what it looks like, you've been following Josh's Windows tutorial very closely. If you're on MacOS and using homebrew to install/update the ttprg-convert CLI, you don't need to download the CLI manually. The output, as I see it, is correct: it's telling you the right thing. You're trying to run it without giving it any arguments (the e.g. the output directory to write to,
If those work, you're good to go. For reference: Use Homebrew |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply! I think the issue is with the path. Because launching the ttrpg-convert in the terminal without arguments, I’d expect it to run exactly the same as if I double click the exe-file. It should give me an error telling the arguments are missing. But I get a bash: command not found error. So terminal doesn’t even run the exe-file. Running the exe-file by double clicking gives this result:
But executing with a Terminal command gives this error:
Does that make sense? |
Beta Was this translation helpful? Give feedback.
If you use homebrew, it puts the binary on your path for you.
Homebrew and JBang both do a good job of helping with path management. Using homebrew on the Mac also makes it easier to update.. (if you're on a mac, at this point, I would recommend it).