Can only use loclx in one directory

I installed loclx on my mac with homebrew and I can access loclx in other directories by running loclx —help, but If I attempt to run any other commands like start a tunnel I’m met with this error “Error: cant call localXpose”. Please help. It appears something inside my app directory may be causing localxpose to crash.