Skip to content

Update @grpc/grpc-js dependency to version 1.3.0 to avoid node version requirement error #373

@Flquintero

Description

@Flquintero

Came across an issue when using a package that has google-gax package as a dependency which in turn uses @grpc/grpc-js. To be specific the issue was:

"... @grpc/grpc-js only works on Node ^8.13.0 || >=10.10.0"

First thing I did was check my node version and was using 12.x so that wasn't it.

So I checked grpc/grpc-js repo and in fact an issue was opened to address it. Please see here

I believe the issue was corrected in @grpc/grpc-js version 1.3.0 however google-gax has ~1.2.0

To test (and as temp fix) I added resolutions in my package.json and made google-gax use version @grpc/grpc-js 1.3.0 as dependency and it cleared the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: cleanupAn internal cleanup or hygiene concern.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions