Offline transaction sign not recognizing cardano-cli

I’m trying to sign my tx.raw file but I’m running into this problem. The cardano-cli is clearly in the /usr/local/bin directory but it’s not recognizing it or something? How do I fix this?

Screenshot from 2021-09-06 18-59-07

You don’t need to go to /usr/local/bin to perform that command.

In an ideal world, you would want to create a folder under your “Home” to hold all your keys, certificates…etc. Then when you are in terminal, navigate to that folder, and do the cardano-cli transaction sign…etc.

Changing the directory where I use the command did not change the error sadly.

I used to be able to sign the tx.raw file but since I updated the node to 1.29.0 I get this problem.

Fixed it by re-downloading the tx.raw file. Turns out it gave me an old version of tx.raw instead of the new one I created.