We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
__dirname
https://github.com/riemann/riemann-nodejs-client/blob/master/riemann/serializer.js#L17
When bundling, this becomes the directory of the caller, leading to:
(node:17555) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/proto/proto.proto'
The text was updated successfully, but these errors were encountered:
Good find, can you send a PR?
Sorry, something went wrong.
Sure thing
@perezd Is using the older .proto format required, or can it be migrated to use the JSON descriptors:
.proto
https://www.npmjs.com/package/protobufjs#using-json-descriptors
This would make bundling it easier since the proto.json file can be loaded along with the riemann client js.
proto.json
it could support both, but I won't accept a PR that breaks existing usages. Adding support while maintaining the original API would be fine tho.
No branches or pull requests
https://github.com/riemann/riemann-nodejs-client/blob/master/riemann/serializer.js#L17
When bundling, this becomes the directory of the caller, leading to:
The text was updated successfully, but these errors were encountered: