Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
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

@sariroti

Description

@sariroti

When we try to build our nestjs application using npm run build there is error like this :

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: pubsubIssues related to the googleapis/nodejs-pubsub API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions