How to fix Error: Invalid URL (malformed URL string) in Node.js | DevErrors