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.

Dependency on Old Protobufjs

See original GitHub issue

Wasn’t there a fix to use the new protobufjs 6 version?

https://github.com/grpc/grpc/issues/8991

However, when I pull down the latest grpc 1.7.2 version, it is still dependent on 5.0.0. It would be useful to have version 6 in there so that I can use loading property and proto verification especially with messages that use the virtual oneof parameters.

{
  "name": "grpc",
  "version": "1.7.2",
  "author": "Google Inc.",
  "description": "gRPC Library for Node",
  "homepage": "https://grpc.io/",
  "repository": {
    "type": "git",
    "url": "https://github.com/grpc/grpc-node.git"
  },
  "bugs": "https://github.com/grpc/grpc-node/issues",
  "contributors": [
    {
      "name": "Michael Lumish",
      "email": "mlumish@google.com"
    }
  ],
  "directories": {
    "lib": "src"
  },
  "scripts": {
    "build": "./node_modules/.bin/node-pre-gyp build",
    "electron-build": "./node_modules/.bin/node-pre-gyp configure build --runtime=electron --disturl=https://atom.io/download/atom-shell",
    "coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha test",
    "install": "./node_modules/.bin/node-pre-gyp install --fallback-to-build --library=static_library"
  },
  "bundledDependencies": [
    "node-pre-gyp"
  ],
  "dependencies": {
    "arguejs": "^0.2.3",
    "lodash": "^4.15.0",
    "nan": "^2.8.0",
    "node-pre-gyp": "^0.6.39",
    "protobufjs": "^5.0.0"
  },

I am not doing anything special other than just npm install grpc

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
murgatroid99commented, May 1, 2018

We have now published @grpc/proto-loader which depends on the newest version of Protobuf.js. Please try it out and tell us about any issues you experience.

2reactions
murgatroid99commented, Apr 5, 2018

We are very close to publishing a new separate utility package for using Protobuf.js 6 with gRPC.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cliDependencies and npm dependency · Issue #716 - GitHub
When using the CLI version of protobuf.js, some additional dependencies are installed (they are defined without versions in cliDependencies ...
Read more >
@apollo/protobufjs - npm
@apollo/protobufjs. TypeScript icon, indicating that this package has built-in type declarations · Readme · Explore BETA · 13 Dependencies · 5 ...
Read more >
Unable to install probufJs with node v12.6 - Stack Overflow
I'm trying to implement grpc web service in nodejs. While installing dependency protobufJs using npm i protobuff, I'm getting error: no matching ...
Read more >
Using node modules with njs - Nginx.org
npm install protobufjs $ npx pbjs -t static-module helloworld.proto > static.js. Thus, the static.js file becomes our new dependency, storing all the code ......
Read more >
protobufjs | Yarn - Package Manager
Fast, reliable, and secure dependency management. ... protobufjs. owner protobufjs40mBSD-3-Clause7.1.2TS vulns 0 vulnerabilities ... protobuf.js.
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