question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not compatible with protobufjs 6.7.x

See original GitHub issue

the rxjs-grpc cli produce this line:

sayHello(request: (sample.HelloRequest|{ [k: string]: any })): Observable<sample.HelloReply>;

You will get the error Property 'name' does not exist on type 'HelloRequest | { [k: string]: any; }'. If you change the pipe-symbol | to an ampersand-symbol & it should work.

sayHello(request: (sample.HelloRequest & { [k: string]: any })): Observable<sample.HelloReply>;

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kondicommented, Apr 10, 2017

Quick fix: revert back protobufjs to ~6.6.5. Looks like it is not compatible currently with 6.7.x, I will look at it later.

0reactions
kondicommented, Mar 5, 2019

Released in v0.2.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

6.7.0 - protobufjs - npm
Performance A few internals and a benchmark on performance. Compatibility Notes on compatibility regarding browsers and optional libraries.
Read more >
Protobuf 404 on npm install (package dependencies and npm i)
I'm currently 404ing with npm i protobufjs@5.0.0 and npm i protobufjs . Im not sure if this is an issue w/ npm but...
Read more >
protobufjs | Yarn - Package Manager
Protocol Buffers are a language-neutral, platform-neutral, extensible way of serializing structured data for use in communications protocols, data storage, ...
Read more >
Protobufjs-fathyb NPM - npm.io
Check Protobufjs-fathyb 6.7.1 package - Last release 6.7.1 with ... Compatibility Notes on compatibility regarding browsers and optional libraries.
Read more >
protobuf.js
protobuf.js is a pure JavaScript implementation with TypeScript support for ... Note that this library's versioning scheme is not semver-compatible for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found