Error description
This error may appear, if Lisk Core is started right after setup.
lisk-core start --console-log info
Starting Lisk Core at /home/roger/.lisk/lisk-core.
Genesis block from "mainnet" does not exists.
Downloading genesis block from https://downloads.lisk.io/lisk/mainnet/genesis_block.json.tar.gz
Downloaded to path: /home/roger/.lisk/lisk-core/config/mainnet/genesis_block.json.tar.gz.
Verified checksum: a69fe85969ce8727b6490a07ced612bbc36a5c377a54f2b6fab58c058d1663b5.
Extracting genesis block file.
Removing downloaded genesis block
Download completed.
/home/roger/.lisk/lisk-core/config/mainnet/genesis_block.json
03:14:10 INFO lisk-framework: Starting the app - lisk-core (module=lisk:app)
03:14:10 INFO lisk-framework: If you experience any type of error, please open an issue on Lisk GitHub: https://github.com/LiskHQ/lisk-sdk/issues (module=lisk:app)
03:14:10 INFO lisk-framework: Contribution guidelines can be found at Lisk-sdk: https://github.com/LiskHQ/lisk-sdk/blob/development/docs/CONTRIBUTING.md (module=lisk:app)
03:14:10 INFO lisk-framework: Booting the application with Lisk Framework(3.0.3) (module=lisk:app)
TypeError: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (17568)
Code: ERR_INVALID_ARG_TYPE
03:14:10 INFO lisk-framework: Application shutdown started (module=lisk:app)
{
"errorCode": 2,
"message": "process.exit"
}
Trouble shooting
The error is showing up most likely because the wrong version of Node.js is installed.
How to solve the error:
- Check Node.js version:
node --version
v12.22.9
- If the version is lower than 12.22.9, change to this particular version, e.g. with NVM:
nvm i 12.22.9
- Reinstall Lisk Core
- Start Lisk Core