grpc / grpc-node

gRPC for Node.js
https://grpc.io
Apache License 2.0
4.49k stars 649 forks source link

Add precompiled binaries for Node v14 #1376

Closed aryehb closed 3 years ago

aryehb commented 4 years ago

Now that Node v14 has been released, it would be great to have precompiled binaries for it.

tweenietomatoes commented 4 years ago

its impossible to compile it with nodejs 14 right now :(

leo-buneev commented 4 years ago

FYI, found 2 workarounds (I'm using yarn, not sure about NPM).

1.) If you don't really need grpc (for browser apps), add this to your package.json:

"resolutions": {
  "grpc": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.0.2.tgz"
}

This will force GRPC to not be installed whatsoever

2.) If you need it, force it to build from source. on NPM it's npm install --build-from-source=grpc, in yarn you needto create .yarnrc file in the root of your project and with this text:

npm_config_build-from-source=grpc
sibelius commented 4 years ago

node 14 will be active next https://github.com/nodejs/Release

is there a fix for this?

aryehb commented 4 years ago

Node v14 is now Active LTS.

murgatroid99 commented 3 years ago

Precompiled binaries for Node 14 are available in grpc 1.24.4.

jjuarez commented 3 years ago

How can access the list of precompiled binaries for gRPC and nodeJS versions, I just trying to dockerize a service which needs all the build stuff because the source build fall back (using nodeJS 12.20.1)