ERROR: bech32 and/or cardano-address not found in '$PATH'

Trying to import a wallet through a mnemonic (Yoroi), receiving this error on the BP:

ERROR: bech32 and/or cardano-address not found in ‘$PATH’
Please run updated prereqs.sh and re-build cardano-node

Is there any way to generate this file?

1 Like

You must have the cardano-address and bech32 files in cd ~/.cabal/bin

ls -l
If not u need to rebuild the node

ghcup - -version

ghcup install ghc 8.10.2

ghcup set ghc 8.10.2

Check again

ghcup - -version

ghcup install cabal 3.2.0.0
ghcup set cabal 3.2.0.0

- check the version
cabal - -version ( should be 3.2.0.0)

- stop the node
sudo systemctl stop cnode

cd ~/git
cd cardano-node

git fetch --tags --all
git checkout 1.27.0

echo -e “package cardano-crypto-praos\n flags: -external-libsodium-vrf” > cabal.project.local

$CNODE_HOME/scripts/cabal-build-all.sh -o


- start the node
sudo systemctl start cnode

- wait for the BP to sync and check again in cntools
1 Like

Hey Alex! How you’ve been safe and well :slight_smile:

So I run this on top of what is already there on the Block Producer?

Yeah, should work

So I ran through those steps, completed without errors. When I jump back into Cntools, now it can’t find anything. Even though the files cntools is looking for, are in the directory cntools is looking for them in, Cntools errors saying it cannot find them.

image

image

Hmm show me all files … from cardano-my-node folder, something is missing or has another name

This reply helped me out

1 Like