helloworld_pb.js file is not generated
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 716
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 10
Description
### Problem description
When generated, the following files are created:
```
helloreply.js
hellorequest.js
helloworld_grpc_pb.js
```
But there is no **helloworld_pb.js** file.
And in the file helloworld_grpc_pb.js there is a dependency:
```js
var helloworld_pb = require('./helloworld_pb.js');
```
### Reproduction steps
**helloworld.proto**
```proto
syntax = "proto3";
package helloworld;
service Greeter {
rpc SayHello (HelloRequest) returns (HelloReply) {}
rpc SayHelloStreamReply (HelloRequest) returns (stream HelloReply) {}
}
message HelloRequest {
string name = 1;
}
message HelloReply {
string message = 1;
}
```
```
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./static_codegen/ --grpc_out=grpc_js:./static_codegen/ --proto_path=./protos/ ./protos/*.proto
```
### Environment
- Windows 10
- Node v18.17.0
- grpc-tools@1.11.3
Contributor guide
Assessment
This issue has not been assessed yet.