Closed aryehb closed 3 years ago
its impossible to compile it with nodejs 14 right now :(
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
node 14 will be active next https://github.com/nodejs/Release
is there a fix for this?
Node v14 is now Active LTS.
Precompiled binaries for Node 14 are available in grpc 1.24.4.
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)
Now that Node v14 has been released, it would be great to have precompiled binaries for it.