I create the function to get the NodeJS.ReadableStream from firebase/storage getStream() function.
I passed the correct reference already, but the error said that :
TypeError: stream.pipe is not a function
at /Users/aldofebri/Documents/GitHub/pskc-main-api/node_modules/@firebase/storage/dist/index.node.cjs.js:2936:32
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
TypeError: stream.pipe is not a function
at /Users/aldofebri/Documents/GitHub/pskc-main-api/node_modules/@firebase/storage/dist/index.node.cjs.js:2936:32
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Operating System
Sonoma 14.5
Browser Version
125.0.6
Firebase SDK Version
10.12.2
Firebase SDK Product:
Storage
Describe your project's tooling
Node JS App with express framework.
Describe the problem
I create the function to get the NodeJS.ReadableStream from firebase/storage getStream() function. I passed the correct reference already, but the error said that :
The error is coming from the code :
If i'im using the reguler getBytes() like below, the code will work.
Steps and code to reproduce issue