Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

@google-cloud/storage after installing this package in angular 14 i got this issue Module '"stream"' has no exported member 'PipelineSource'

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

like image 927
abeer omar Avatar asked Jan 19 '26 12:01

abeer omar


1 Answers

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

like image 107
Romain Capot Avatar answered Jan 23 '26 21:01

Romain Capot



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!