You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
Property 'destroy' in type 'MessageStream' is not assignable to the same property in base type 'PassThrough' #1451
This is caused by MessageStream.destroy not being compatible with the latest version of @types/node. The latest version of node types has changed the signature of destroy. I was able to work around this error by downgrading my version of @types/node to 17.0.5. This still needs to be fixed in @google-cloud/pubsub.
"devDependencies": {
"@types/node": "17.0.5",
Reacted by Do Trong Long, Norbert Huethmayr, eggsys, Peter Torsson, Chris Keller, Michał Pawełczyk, José Neta, David E. Weekly, Mick Rippon, Matt Bodman and 8 more
Reacted by Martin Svoboda, Igor, Mojo and Luis Ganimi
When we try to build our nestjs application using npm run build there is error like this :
Environment details
OS: Linux Alpine
Node.js version: 12.18.3
npm version: 6.14.8
@google-cloud/pubsub version: 2.18.4
Steps to reproduce
Update your library to @google-cloud/pubsub": "2.18.4"
docker build -t -f
in docker file there is command RUN npm run build