Skip to content

Module 'http2' not found #610

Closed
Closed
@rakhi2104

Description

@rakhi2104

Problem description

gRPC couldn't initialize due to the missing 'http2' module.

Reproduction steps

  • Use of package firebase-admin in React App, bootstrapped with create-react-app
  • Follow steps from Google Firebase Admin Documentation
  • Start the React App using yarn start or npm start

Environment

  • Linux Ubuntu 18.04 amd64
  • Node version 10.11.0
  • npm

Error message

Failed Compiling
./node_modules/@grpc/grpc-js/build/src/channel.js
Module not found: Can't resolve 'http2' in '/home/.../project1/node_modules/@grpc/grpc-js/build/src'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions