Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(connectrpc): init #339

Merged
merged 2 commits into from
Jan 22, 2025

fix(common): typecheck

5caac16
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat(connectrpc): init #339

fix(common): typecheck
5caac16
Select commit
Loading
Failed to load commit list.
GitHub Actions / Release failed Jan 22, 2025 in 0s

Errors 1

Found 1 errors

Annotations

Check failure on line 1 in packages/nestjs-connectrpc-errors/package.json

See this annotation in the file changed.

@github-actions github-actions / Release

Error release workspace @atls/nestjs-connectrpc-errors

Exit code 1
Raw output
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@atls-protobuf-rpc-virtual-22c1289b2a/2/.yarn/berry/cache/@atls-protobuf-rpc-npm-0.0.1-90b4e8a0da-10c0.zip/node_modules/     TS230  │
│  @atls/protobuf-rpc/dist/gen/tech/atls/rpc/v1alpha1/logical-error_pb.d.ts:2:29                                                                        7      │
│                                                                                                                                                              │
│  1 | import type { Message } from '@bufbuild/protobuf';                                                                                                      │
│> 2 | import type { GenFile } from '@bufbuild/protobuf/codegenv1';                                                                                            │
│    |                             ^                                                                                                                           │
│  3 | import type { GenMessage } from '@bufbuild/protobuf/codegenv1';                                                                                         │
│  4 | export declare const file_tech_atls_rpc_v1alpha1_logical_error: GenFile;                                                                                │
│  5 | export type LogicalError = Message<'tech.atls.rpc.v1alpha1.LogicalError'> & {                                                                           │
│                                                                                                                                                              │
│  Cannot find module '@bufbuild/protobuf/codegenv1' or its corresponding type declarations.                                                                   │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@atls-protobuf-rpc-virtual-22c1289b2a/2/.yarn/berry/cache/@atls-protobuf-rpc-npm-0.0.1-90b4e8a0da-10c0.zip/node_modules/     TS230  │
│  @atls/protobuf-rpc/dist/gen/tech/atls/rpc/v1alpha1/logical-error_pb.d.ts:3:32                                                                        7      │
│                                                                                                                                                              │
│  1 | import type { Message } from '@bufbuild/protobuf';                                                                                                      │
│  2 | import type { GenFile } from '@bufbuild/protobuf/codegenv1';                                                                                            │
│> 3 | import type { GenMessage } from '@bufbuild/protobuf/codegenv1';                                                                                         │
│    |                                ^                                                                                                                        │
│  4 | export declare const file_tech_atls_rpc_v1alpha1_logical_error: GenFile;                                                                                │
│  5 | export type LogicalError = Message<'tech.atls.rpc.v1alpha1.LogicalError'> & {                                                                           │
│  6 |     id: string;                                                                                                                                         │
│                                                                                                                                                              │
│  Cannot find module '@bufbuild/protobuf/codegenv1' or its corresponding type declarations.                                                                   │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@atls-protobuf-rpc-virtual-22c1289b2a/2/.yarn/berry/cache/@atls-protobuf-rpc-npm-0.0.1-90b4e8a0da-10c0.zip/node_modules/     TS234  │
│  @atls/protobuf-rpc/dist/gen/tech/atls/rpc/v1alpha1/logical-error_pb.d.ts:5:35                                                                        4      │
│                                                                                                                                                              │
│  3 | import type { GenMessage } from '@bufbuild/protobuf/codegenv1';                                                                                         │
│  4 | export declare const file_tech_atls_rpc_v1alpha1_logical_error: GenFile;                                                                                │
│> 5 | export type LogicalError = Message<'tech.atls.rpc.v1alpha1.LogicalError'> & {                                                                           │
│    |                                   ^                                                                                                                     │
│  6 |     id: string;                                                                                                                                         │
│  7 |     message: string;                                                                                                                                    │
│  8 | };                                                                                                                                                      │
│                                                                                                                                                              │
│  Type 'string' does not satisfy the constraint 'Message<"tech.atls.rpc.v1alpha1.LogicalError">'.                                                             │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@atls-protobuf-rpc-virtual-22c1289b2a/2/.yarn/berry/cache/@atls-protobuf-rpc-npm-0.0.1-90b4e8a0da-10c0.zip/node_modules/     TS230  │
│  @atls/protobuf-rpc/dist/gen/tech/atls/rpc/v1alpha1/validation-error_pb.d.ts:2:29                                                                     7      │
│                                                                                                                                                              │
│  1 | import type { Message } from '@bufbuild/protobuf';                                                                                                      │
│> 2 | import type { GenFile } from '@bufbuild/protobuf/codegenv1';                                                                                            │
│    |                             ^                                                                                                                           │
│  3 | import type { GenMessage } from '@bufbuild/protobuf/codegenv1';                                                                                         │
│  4 | import type { LocalizedMessage } from './localized-message_pb';                                                                                         │
│  5 | export declare const file_tech_atls_rpc_v1alpha1_validation_error: GenFile;                                                                             │
│                                                                                                                                                              │
│  Cannot find module '@bufbuild/protobuf/codegenv1' or its corresponding type declarations.                                                                   │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@atls-protobuf-rpc-virtual-22c1289b2a/2/.yarn/berry/cache/@atls-protobuf-rpc-npm-0.0.1-90b4e8a0da-10c0.zip/node_modules/     TS230  │
│  @atls/protobuf-rpc/dist/gen/tech/atls/rpc/v1alpha1/validation-error_pb.d.ts:3:32                                                                     7      │
│                                                                                                                                                              │
│  1 | import type { Message } from '@bufbuild/protobuf';                                                                                                      │
│  2 | import type { GenFile } from '@bufbuild/protobuf/codegenv1';                                                                                            │
│> 3 | import type { GenMessage } from '@bufbuild/protobuf/codegenv1';                                                                                         │
│    |                                ^                                                                                                                        │
│  4 | import type { LocalizedMessage } from './localized-message_pb';                                                                                         │
│  5 | export declare const file_tech_atls_rpc_v1alpha1_validation_error: GenFile;                                                                             │
│  6 | export type ValidationErrorMessage = Message<'tech.atls.rpc.v1alpha1.ValidationErrorMessage'> & {                                                       │
│                                                                                                                                                              │
│  Cannot find module '@bufbuild/protobuf/codegenv1' or its corresponding type declarations.                                                                   │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@atls-protobuf-rpc-virtual-22c1289b2a/2/.yarn/berry/cache/@atls-protobuf-rpc-npm-0.0.1-90b4e8a0da-10c0.zip/node_modules/     TS283  │
│  @atls/protobuf-rpc/dist/gen/tech/atls/rpc/v1alpha1/validation-error_pb.d.ts:4:38                                                                     5      │
│                                                                                                                                                              │
│  2 | import type { GenFile } from '@bufbuild/protobuf/codegenv1';                                                                                            │
│  3 | import type { GenMessage } from '@bufbuild/protobuf/codegenv1';                                                                                         │
│> 4 | import type { LocalizedMessage } from './localized-message_pb';                                                                                         │
│    |                                      ^                                                                                                                  │
│  5 | export declare const file_tech_atls_rpc_v1alpha1_validation_error: GenFile;                                                                             │
│  6 | export type ValidationErrorMessage = Message<'tech.atls.rpc.v1alpha1.ValidationErrorMessage'> & {                                                       │
│  7 |     id: string;                                                                                                                                         │
│                                                                                                                                                              │
│  Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean                 │
│  './localized-message_pb.js'?                                                                                                                                │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@atls-protobuf-rpc-virtual-22c1289b2a/2/.yarn/berry/cache/@atls-protobuf-rpc-npm-0.0.1-90b4e8a0da-10c0.zip/node_modules/     TS234  │
│  @atls/protobuf-rpc/dist/gen/tech/atls/rpc/v1alpha1/validation-error_pb.d.ts:6:45                                                                     4      │
│                                                                                                                                                              │
│  4 | import type { LocalizedMessage } from './localized-message_pb';                                                                                         │
│  5 | export declare const file_tech_atls_rpc_v1alpha1_validation_error: GenFile;                                                                             │
│> 6 | export type ValidationErrorMessage = Message<'tech.atls.rpc.v1alpha1.ValidationErrorMessage'> & {                                                       │
│    |                                             ^                                                                                                           │
│  7 |     id: string;                                                                                                                                         │
│  8 |     constraint: string;                                                                                                                                 │
│  9 |     details: LocalizedMessage[];                                                                                                                        │
│                                                                                                                                                              │
│  Type 'string' does not satisfy the constraint 'Message<"tech.atls.rpc.v1alpha1.ValidationErrorMessage">'.                                                   │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@atls-protobuf-rpc-virtual-22c1289b2a/2/.yarn/berry/cache/@atls-protobuf-rpc-npm-0.0.1-90b4e8a0da-10c0.zip/node_modules/     TS234  │
│  @atls/protobuf-rpc/dist/gen/tech/atls/rpc/v1alpha1/validation-error_pb.d.ts:12:38                                                                    4      │
│                                                                                                                                                              │
│  10 | };                                                                                                                                                     │
│  11 | export declare const ValidationErrorMessageSchema: GenMessage<ValidationErrorMessage>;                                                                 │
│> 12 | export type ValidationError = Message<'tech.atls.rpc.v1alpha1.ValidationError'> & {                                                                    │
│     |                                      ^                                                                                                                 │
│  13 |     id: string;                                                                                                                                        │
│  14 |     property: string;                                                                                                                                  │
│  15 |     messages: ValidationErrorMessage[];                                                                                                                │
│                                                                                                                                                              │
│  Type 'string' does not satisfy the constraint 'Message<"tech.atls.rpc.v1alpha1.ValidationError">'.                                                          │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-common-virtual-1c8d6cc6fb/2/.yarn/berry/cache/@nestjs-common-npm-10.4.3-c8baed1848-10c0.zip/node_modules/@nestjs     TS230  │
│  /common/file-stream/streamable-file.d.ts:1:25                                                                                                        7      │
│                                                                                                                                                              │
│> 1 | import { Readable } from 'stream';                                                                                                                      │
│    |                         ^                                                                                                                               │
│  2 | import { StreamableFileOptions, StreamableHandlerResponse } from './interfaces';                                                                        │
│  3 | import { Logger } from '../services';                                                                                                                   │
│  4 | /**                                                                                                                                                     │
│                                                                                                                                                              │
│  Cannot find module 'stream' or its corresponding type declarations.                                                                                         │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-common-virtual-1c8d6cc6fb/2/.yarn/berry/cache/@nestjs-common-npm-10.4.3-c8baed1848-10c0.zip/node_modules/@nestjs     TS258  │
│  /common/interfaces/http/raw-body-request.interface.d.ts:5:14                                                                                         0      │
│                                                                                                                                                              │
│  3 |  */                                                                                                                                                     │
│  4 | export type RawBodyRequest<T> = T & {                                                                                                                   │
│> 5 |     rawBody?: Buffer;                                                                                                                                   │
│    |              ^                                                                                                                                          │
│  6 | };                                                                                                                                                      │
│  7 |                                                                                                                                                         │
│                                                                                                                                                              │
│  Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.                                            │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-microservices-virtual-a9a463b073/2/.yarn/berry/cache/@nestjs-microservices-npm-10.4.15-61ff583184-10c0.zip/node_     TS258  │
│  modules/@nestjs/microservices/client/client-mqtt.d.ts:25:56                                                                                          0      │
│                                                                                                                                                              │
│  23 |     createClient(): MqttClient;                                                                                                                        │
│  24 |     handleError(client: MqttClient): void;                                                                                                             │
│> 25 |     createResponseCallback(): (channel: string, buffer: Buffer) => any;                                                                                │
│     |                                                        ^                                                                                               │
│  26 |     protected publish(partialPacket: ReadPacket, callback: (packet: WritePacket) => any): () => void;                                                  │
│  27 |     protected dispatchEvent(packet: ReadPacket): Promise<any>;                                                                                         │
│  28 |     protected unsubscribeFromChannel(channel: string): void;                                                                                           │
│                                                                                                                                                              │
│  Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.                                            │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-microservices-virtual-a9a463b073/2/.yarn/berry/cache/@nestjs-microservices-npm-10.4.15-61ff583184-10c0.zip/node_     TS230  │
│  modules/@nestjs/microservices/client/client-rmq.d.ts:2:29                                                                                            7      │
│                                                                                                                                                              │
│  1 | import { Logger } from '@nestjs/common/services/logger.service';                                                                                        │
│> 2 | import { EventEmitter } from 'events';                                                                                                                  │
│    |                             ^                                                                                                                           │
│  3 | import { Observable, ReplaySubject } from 'rxjs';                                                                                                       │
│  4 | import { RmqUrl } from '../external/rmq-url.interface';                                                                                                 │
│  5 | import { ReadPacket, RmqOptions, WritePacket } from '../interfaces';                                                                                    │
│                                                                                                                                                              │
│  Cannot find module 'events' or its corresponding type declarations.                                                                                         │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-microservices-virtual-a9a463b073/2/.yarn/berry/cache/@nestjs-microservices-npm-10.4.15-61ff583184-10c0.zip/node_     TS258  │
│  modules/@nestjs/microservices/client/client-rmq.d.ts:44:43                                                                                           0      │
│                                                                                                                                                              │
│  42 |     protected initializeSerializer(options: RmqOptions['options']): void;                                                                              │
│  43 |     protected mergeHeaders(requestHeaders?: Record<string, string>): Record<string, string> | undefined;                                               │
│> 44 |     protected parseMessageContent(content: Buffer): any;                                                                                               │
│     |                                           ^                                                                                                            │
│  45 | }                                                                                                                                                      │
│  46 | export {};                                                                                                                                             │
│  47 |                                                                                                                                                        │
│                                                                                                                                                              │
│  Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.                                            │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-microservices-virtual-a9a463b073/2/.yarn/berry/cache/@nestjs-microservices-npm-10.4.15-61ff583184-10c0.zip/node_     TS230  │
│  modules/@nestjs/microservices/client/client-tcp.d.ts:1:34                                                                                            7      │
│                                                                                                                                                              │
│> 1 | import { ConnectionOptions } from 'tls';                                                                                                                │
│    |                                  ^                                                                                                                      │
│  2 | import { TcpSocket } from '../helpers';                                                                                                                 │
│  3 | import { ReadPacket, WritePacket } from '../interfaces';                                                                                                │
│  4 | import { TcpClientOptions } from '../interfaces/client-metadata.interface';                                                                             │
│                                                                                                                                                              │
│  Cannot find module 'tls' or its corresponding type declarations.                                                                                            │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-microservices-virtual-a9a463b073/2/.yarn/berry/cache/@nestjs-microservices-npm-10.4.15-61ff583184-10c0.zip/node_     TS230  │
│  modules/@nestjs/microservices/external/kafka.interface.d.ts:9:21                                                                                     7      │
│                                                                                                                                                              │
│   7 |  *                                                                                                                                                     │
│   8 |  */                                                                                                                                                    │
│>  9 | import * as net from 'net';                                                                                                                            │
│     |                     ^                                                                                                                                  │
│  10 | import * as tls from 'tls';                                                                                                                            │
│  11 | type Without<T, U> = {                                                                                                                                 │
│  12 |     [P in Exclude<keyof T, keyof U>]?: never;                                                                                                          │
│                                                                                                                                                              │
│  Cannot find module 'net' or its corresponding type declarations.                                                                                            │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-microservices-virtual-a9a463b073/2/.yarn/berry/cache/@nestjs-microservices-npm-10.4.15-61ff583184-10c0.zip/node_     TS230  │
│  modules/@nestjs/microservices/external/kafka.interface.d.ts:10:21                                                                                    7      │
│                                                                                                                                                              │
│   8 |  */                                                                                                                                                    │
│   9 | import * as net from 'net';                                                                                                                            │
│> 10 | import * as tls from 'tls';                                                                                                                            │
│     |                     ^                                                                                                                                  │
│  11 | type Without<T, U> = {                                                                                                                                 │
│  12 |     [P in Exclude<keyof T, keyof U>]?: never;                                                                                                          │
│  13 | };                                                                                                                                                     │
│                                                                                                                                                              │
│  Cannot find module 'tls' or its corresponding type declarations.                                                                                            │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-microservices-virtual-a9a463b073/2/.yarn/berry/cache/@nestjs-microservices-npm-10.4.15-61ff583184-10c0.zip/node_     TS258  │
│  modules/@nestjs/microservices/external/kafka.interface.d.ts:24:18                                                                                    0      │
│                                                                                                                                                              │
│  22 | export type BrokersFunction = () => string[] | Promise<string[]>;                                                                                      │
│  23 | type SaslAuthenticationRequest = {                                                                                                                     │
│> 24 |     encode: () => Buffer | Promise<Buffer>;                                                                                                            │
│     |                  ^                                                                                                                                     │
│  25 | };                                                                                                                                                     │
│  26 | type SaslAuthenticationResponse<ParseResult> = {                                                                                                       │
│  27 |     decode: (rawResponse: Buffer) => Buffer | Promise<Buffer>;                                                                                         │
│                                                                                                                                                              │
│  Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.                                            │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-microservices-virtual-a9a463b073/2/.yarn/berry/cache/@nestjs-microservices-npm-10.4.15-61ff583184-10c0.zip/node_     TS258  │
│  modules/@nestjs/microservices/external/kafka.interface.d.ts:24:35                                                                                    0      │
│                                                                                                                                                              │
│  22 | export type BrokersFunction = () => string[] | Promise<string[]>;                                                                                      │
│  23 | type SaslAuthenticationRequest = {                                                                                                                     │
│> 24 |     encode: () => Buffer | Promise<Buffer>;                                                                                                            │
│     |                                   ^                                                                                                                    │
│  25 | };                                                                                                                                                     │
│  26 | type SaslAuthenticationResponse<ParseResult> = {                                                                                                       │
│  27 |     decode: (rawResponse: Buffer) => Buffer | Promise<Buffer>;                                                                                         │
│                                                                                                                                                              │
│  Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.                                            │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-microservices-virtual-a9a463b073/2/.yarn/berry/cache/@nestjs-microservices-npm-10.4.15-61ff583184-10c0.zip/node_     TS258  │
│  modules/@nestjs/microservices/external/kafka.interface.d.ts:27:26                                                                                    0      │
│                                                                                                                                                              │
│  25 | };                                                                                                                                                     │
│  26 | type SaslAuthenticationResponse<ParseResult> = {                                                                                                       │
│> 27 |     decode: (rawResponse: Buffer) => Buffer | Promise<Buffer>;                                                                                         │
│     |                          ^                                                                                                                             │
│  28 |     parse: (data: Buffer) => ParseResult;                                                                                                              │
│  29 | };                                                                                                                                                     │
│  30 | type Authenticator = {                                                                                                                                 │
│                                                                                                                                                              │
│  Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.                                            │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-microservices-virtual-a9a463b073/2/.yarn/berry/cache/@nestjs-microservices-npm-10.4.15-61ff583184-10c0.zip/node_     TS258  │
│  modules/@nestjs/microservices/external/kafka.interface.d.ts:27:37                                                                                    0      │
│                                                                                                                                                              │
│  25 | };                                                                                                                                                     │
│  26 | type SaslAuthenticationResponse<ParseResult> = {                                                                                                       │
│> 27 |     decode: (rawResponse: Buffer) => Buffer | Promise<Buffer>;                                                                                         │
│     |                                     ^                                                                                                                  │
│  28 |     parse: (data: Buffer) => ParseResult;                                                                                                              │
│  29 | };                                                                                                                                                     │
│  30 | type Authenticator = {                                                                                                                                 │
│                                                                                                                                                              │
│  Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.                                            │
│                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                              │
│  ../../.yarn/__virtual__/@nestjs-microservices-virtual-a9a463b073/2/.yarn/berry/cache/@nestjs-microservices-npm-10.4.15-61ff583184-10c0.zip/node_     TS258  │
│  modules/@nestjs/microservices/external/kafka.interface.d.ts:27:54                                                                                    0      │
│                                                                                                                                                              │
│  25 | };