小编Mik*_*ech的帖子

找不到模块:导入 firebase-admin 时无法解析“http2”

        Failed to compile
    ./node_modules/@grpc/grpc-js/build/src/channel.js
    Module not found: Can't resolve 'http2' in '/Users/Michael/Development/Projects/mpsa-ntcs/node_modules/@grpc/grpc-js/build/src'

This error occurred during the build time and cannot be dismissed.
Run Code Online (Sandbox Code Playgroud)

将 firebase-admin 导入我的应用程序时,我不断收到此错误。我尝试更新 GRPC,尝试降级/升级节点,重新安装节点 + npm ......一切!

任何人都知道任何解决方法吗?

谢谢!

npm firebase reactjs firebase-admin

5
推荐指数
1
解决办法
6899
查看次数

标签 统计

firebase ×1

firebase-admin ×1

npm ×1

reactjs ×1