From 0c4873ad5b3085b7098a3ad5234668053b84db0c Mon Sep 17 00:00:00 2001 From: Rui Rocha Date: Tue, 24 Sep 2024 16:45:56 +0100 Subject: [PATCH] removed npx from protoc command to try and use the machine binary directly --- packages/nodejs-kafka-client-lib/generate-proto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodejs-kafka-client-lib/generate-proto.ts b/packages/nodejs-kafka-client-lib/generate-proto.ts index adcc429..0092edc 100644 --- a/packages/nodejs-kafka-client-lib/generate-proto.ts +++ b/packages/nodejs-kafka-client-lib/generate-proto.ts @@ -5,7 +5,7 @@ const protoDir = path.resolve(__dirname, 'src/protobuff'); const protoFile = path.resolve(protoDir, 'messages.proto'); const outDir = path.resolve(protoDir); -const command = `npx protoc --ts_out=service=true:${outDir} --proto_path=${protoDir} ${protoFile}`; +const command = `protoc --ts_out=service=true:${outDir} --proto_path=${protoDir} ${protoFile}`; console.log('Running command:', command);