You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
Hello,
Sorry i have no other way to contact you. I ran into an issue.
I think I am having trouble setting up the PATH. When i run node src/get-balance.js I am getting this error.
Can you plz guide me.
Thank you.
The text was updated successfully, but these errors were encountered:
Socket is not showing in db, most likely need to restart your node and check db again, if you don't see socket I would delete db and redownloaded it as it may be corrupted.
If that doesn't return anything then the script you're trying to use won't be able to find your socket. It should be located somewhere like $NODE_HOME/db/socket or $CNODE_HOME/sockets/node0.socket - just depends on how your cardano-node install looks. $NODE_HOME might be something like /home/ada/pi-node or /opt/cardano/cnode for example.
You can set it from the command line and it'll be available for the duration of your session:
export CARDANO_NODE_SOCKET_PATH=$NODE_HOME/db/socket
Or add that export command above to your .bashrc file in your $HOME directory and you shouldn't have to mess with it again.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
Sorry i have no other way to contact you. I ran into an issue.
I think I am having trouble setting up the PATH. When i run node src/get-balance.js I am getting this error.
Can you plz guide me.
Thank you.
The text was updated successfully, but these errors were encountered: