New issue
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
[Node.js] Pre-built binaries not found for grpc@1.2.4 and node@6.9.5 on Windows #11239
Comments
That file definitely exists. And since the error output from trying to download it was "Error: unable to get local issuer certificate", it looks like the problem was on the client side. |
Windows binaries seem fine but Linux binaries seems to be down I think?! |
We don't have Node 8 binaries because Node 8 just came out. Those will be released soon. |
gRPC 1.3.8 has been published with support for Node 8. |
I am also having issues with this but for different versions, is there a complete list of available binaries per node version? I am currently trying 1.7.2 and node@9.2.0 |
We have binaries for Node 9 for grpc 1.7.2. Can you provide the specific error output that you are seeing? |
having the same issue while building image in docker. node version v9.0.0 grpc@1.7.2 install /app/node_modules/grpc node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.7.2/node-v59-linux-x64-musl.tar.gz npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: |
|
@murgatroid99 Any updates on this? If the file does exist, then it looks like it's just a permissions error on https://storage.googleapis.com. Please can you confirm that the file exists and permissions are set correctly? |
We do not have binaries for Alpine right now. As you can see it falls back to build from source, as it should, but it fails. |
We have published grpc@1.8.0-pre2 which includes precompiled binaries for Alpine, so you can try those out now. |
Since my last comment, we have published regular 1.8.x packages with Alpine precompiled binaries. |
uninstall previous node.js and |
node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.4.1/node-v59-darwin-x64.tar.gz |
You are trying to install gRPC 1.4.1, which is relatively old, and does not work on Node 9. You can solve that by upgrading to a newer version of gRPC. |
I'm using Node on Windows and I'm also trying to install gRPC 1.4.1. It falls back to build, but the build fails. I've installed all the dependencies, but I just can't get it to compile on Windows in Node 9. Installing a newer version 1.9.1 works, because there are precompiled binaries available, but building the newer version with the I need 1.4.1, because the firebase-tools depend on it.
EDIT:
|
The best solution to that would probably be for firebase-tools to update their dependency to a newer version. Failing that, if you want to build the library on Windows, you will have to delete |
@murgatroid99 Thanks, that worked. I temporarily removed the openssl directory and the build went through. It would be great if it would compile without this "secret step". Out of curiosity I'm still wondering where and why I got stuck on trying to compile manually. With YASM. I also asked for a version bump on the firebase-tools repo. |
The build script actually echos an instruction to delete that directory on Windows, but unfortunately it does that right before thousands of lines of compilation errors. And I'm not sure what instructions you were following to build on Windows, but I think that there's a good chance that they weren't the instructions for the Node library. I'm not very familiar with them, though, so I'm not sure why they failed. |
Reported on GoogleCloudPlatform/cloud-functions-emulator#107
The text was updated successfully, but these errors were encountered: