Skip to content

Provide empty mock for http2 module #6161

Closed
@kjin

Description

@kjin

I've opened a PR to add http2 as a core module in #5686, would love to see it landed as it seems that a lot of people are running into this problem. Thanks!

Is this a bug report?

Yes

Did you try recovering your dependencies?

Yes

Which terms did you search for in User Guide?

http2

Environment

System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Binaries:
Node: 8.9.3 - ~/.nvm/versions/node/v8.9.3/bin/node
Yarn: 1.3.2 - /usr/local/Cellar/node/7.0.0/libexec/npm/bin/yarn
npm: 5.5.1 - ~/.nvm/versions/node/v8.9.3/bin/npm
Browsers:
Chrome: 71.0.3578.98
Safari: 12.0.2
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found

Steps to Reproduce

  1. See Module 'http2' not found grpc/grpc-node#610

Expected Behavior

It doesn't crash

Actual Behavior

It crashes

Reproducible Demo

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions