How to fix TypeError: Argument must be a valid hex string in Node.js | DevErrors