I am trying to run the (https://github.com/googleapis/nodejs-speech/blob/main/protos/google/cloud/speech/v1p1beta1/cloud_speech.proto) .proto File from Google in NestJS and I get the error:
Is someone here facing the same problem?
Ps. I have written just a simple gRPC code, like:
async function bootstrap() {
const app = await NestFactory.createMicroservice(AppModule, {
transport: Transport.GRPC,
options: {
options: 'localhost:3001',
package: 'google.cloud.speech.v1p1beta1',
protoPath: join(__dirname, './speech/speech.proto'),
}
});
await app.listen();
console.log(`Microservice is listening`);
}