How to fix RangeError: Buffer allocation size must be a positive number in Node.js | DevErrors