缺少node-v59-linux-x64/grpc_node.node [英] node-v59-linux-x64/grpc_node.node is missing

查看:91
本文介绍了缺少node-v59-linux-x64/grpc_node.node的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在服务器中使用Firebase admin SDK.部署时出现错误,我在firebase-admin node_module映射中缺少文件node-v59-linux-x64/grpc_node.node.我在程序包中添加了"grpc":"1.7.1",但是在NPM更新后我仍然没有得到该文件.我有一个较旧的版本,node-v57.我还检查了此路径 https://registry.npmjs.org/grpc/-/grpc-1.7.1.tgz ,但找不到该文件.我删除了node_modules映射,然后再次运行npm install,仍然没有node-v59.

I am trying to use Firebase admin SDK in my server. When I deploy I get the error I am missing file node-v59-linux-x64/grpc_node.node in firebase-admin node_module map. I added "grpc": "1.7.1" in my package, but I still do not get that file after NPM update. I get an older version, node-v57. I also checked this path https://registry.npmjs.org/grpc/-/grpc-1.7.1.tgz, but I could not locate the file. I deleted my node_modules map and ran npm install again, still no node-v59.

如何/在哪里下载该文件?有没有人可以将文件放在这里,以便我可以手动添加它?

How/where can I download that file? Is there any one who can put the file here so I can manually add it?

错误:找不到模块 '/data/app/node_modules/grpc/src/node/extension_binary/node-v59-linux-x64/grpc_node.node'

Error: Cannot find module '/data/app/node_modules/grpc/src/node/extension_binary/node-v59-linux-x64/grpc_node.node'

推荐答案

我遇到了同样的问题.您可以在此处下载文件: https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.7.1/node-v59-linux-x64.tar.gz

I had the same problem. You can download the file here: https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.7.1/node-v59-linux-x64.tar.gz

这篇关于缺少node-v59-linux-x64/grpc_node.node的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆