Open iamgodsondaniel5 opened 3 months ago
Upgrade your nodejs to v16 or higher.
For Ubuntu
sudo apt update
sudo apt install build-essential libssl-dev curl -y
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
echo 'export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"' >> ~/.bashrc echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc
source ~/.bashrc
nvm install 16
// you can install latest one using nvm install node
and use nvm alias default node
to use nodejs new version by deafult
nvm use 16
Still getting same error even after upgrading to nodejs to v16 with the guide you dropped
Create a new file named privateKeys.json. In the privateKeys.json store your wallet private key like this
[ "your_wallet_private_key_here" ]
Note: use "[ ]" this bracket not this { } or this ( ).