How to fix Error: PassThrough stream not properly initialized in Node.js | DevErrors