【发布时间】:2017-11-16 19:09:00
【问题描述】:
我正在尝试在我的服务器中使用 Firebase 管理 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。
如何/在哪里可以下载该文件?有没有人可以将文件放在这里以便我可以手动添加它?
错误:找不到模块 '/data/app/node_modules/grpc/src/node/extension_binary/node-v59-linux-x64/grpc_node.node'
【问题讨论】:
标签: node.js firebase github npm grpc