envelop icon indicating copy to clipboard operation
envelop copied to clipboard

`@envelop/apollo-tracing` is throwing `TypeError: Cannot read properties of undefined (reading 'hrtime')`

Open Bas950 opened this issue 2 years ago • 1 comments

Issue workflow progress

Progress of the issue based on the Contributor Workflow

  • [x] 1. The issue provides a minimal reproduction available on Stackblitz.
    • Please install the latest @envelop/* packages that you are using.
    • Please make sure the reproduction is as small as possible.
  • [ ] 2. A failing test has been provided
  • [ ] 3. A local solution has been provided
  • [ ] 4. A pull request is pending review

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Go to codesandbox Reprocuction
  2. Click on Visit GraphiQL
  3. And run the subscription query
  4. You will now see an error in the console related to hrtime

Expected behavior

It to run the subscription query and countdown from 5 to 0.

Environment:

See codesandbox reproduction.

Additional context

Bas950 avatar Oct 13 '23 17:10 Bas950

This looks like a duplicate of https://github.com/n1ru4l/envelop/issues/1771

jdolle avatar Apr 17 '24 19:04 jdolle