uploadToAzureBlob function is failing at blockBlobClient.uploadStream(file, bufferSize, 5). I have confirmed all the steps above the uploadStrem() are successful. This is the error message:
TypeError: _this.readable.on is not a function
at /home/??????/node_modules/@azure/storage-blob/src/utils/BufferScheduler.ts:237:21
....
...
at BlockBlobClient.uploadStream (/home/????????/node_modules/@azure/storage-blob/dist/index.js:14813:22)