Error: node_modules/@google-cloud/storage/build/cjs/src/file.d.ts:7:30 - error TS2305: Module '"stream"' has no exported member 'PipelineSource'.
7 import { Writable, Readable, PipelineSource
} from 'stream';
~~~~~~~~~~~~~~
× Failed to compile.
i already installed "@types/node": "^12.20.55",
and add ,
"types": ["node"] to compilerOptions at tsconfig.json file
I had the same issue and I fixed it by updating @types/node to the last version.
"@types/node": "^20.14.10"
I'm using firebase-admin : "^12.2.0"
You can find @types/node last version here : https://www.npmjs.com/package/@types/node
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With