Hi Aryan,
Based on our conversation, and the above message, please update your .bashrc to the following:
export PATH=”~/.cabal/bin:$PATH"
export CNODE_HOME=/opt/cardano/cnode
export CARDANO_NODE_SOCKET_PATH=/opt/cardano-node/sockets/node0.socket
export LD_LIBRARY_PATH=“/usr/local/lib:$LD_LIBRARY_PATH”
export PKG_CONFIG_PATH=“/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH”
As you can see, we changed .local/bin to .cabal/bin where your node binaries are located
Let me know if this works.
Your friend, FROG