question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with bundling `undici` in `esbuild` on upgrade to vscode 1.66

See original GitHub issue

Actual Behavior

The server crashes when using an API endpoint to specify the schema.

Expected Behavior

The extension fetches the API schema from the endpoint via introspection

Steps to Reproduce the Problem Or Description

create a graphql.config.yml with the following content:

schema:
  - https://huddle.hsg.fs.tum.de/api/query

The endpoint itself works fine as you can see here: https://huddle.hsg.fs.tum.de/api

Specifications

  • GraphQL for VSCode Extension Version: 0.3.53
  • VSCode Version: 1.66.0-1
  • OS Name: manjaro linux
  • OS Version: plasma 5.24

Logs Of TS Server || GraphQL Language Service

GraphQL LSP restarted
(node:433184) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use `code --trace-warnings ...` to show where the warning was created)
3/31/2022, 10:12:36 PM [3] (pid: 433184) graphql-language-service-usage-logs: {"type":"usage","messageType":"initialize"}
/home/olep/.vscode/extensions/graphql.vscode-graphql-0.3.52/out/server/server.js:96572
            if (socket[kParser].timeoutType !== TIMEOUT_IDLE) {
                                ^

TypeError: Cannot read properties of undefined (reading 'timeoutType')
    at _resume (/home/olep/.vscode/extensions/graphql.vscode-graphql-0.3.52/out/server/server.js:96572:33)
    at resume (/home/olep/.vscode/extensions/graphql.vscode-graphql-0.3.52/out/server/server.js:96542:7)
    at connect (/home/olep/.vscode/extensions/graphql.vscode-graphql-0.3.52/out/server/server.js:96531:7)
[Info  - 10:12:37 PM] Connection to server got closed. Server will restart.
[Info  - 10:12:37 PM] The graphql server has stopped running
[Info  - 10:12:37 PM] The graphql server has stopped running

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:21
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

13reactions
acaocommented, Apr 7, 2022

I hope to take a look this weekend

Update: some terrible things went down over the weekend and it will be a few weeks before I can look

8reactions
acaocommented, Apr 7, 2022

I have now reproduced the bug finally, but the last time I ran this extension in the repository it worked (this weekend). Terribly sorry for this, I will see what I can figure out.

it appears to be a bug coming from the underlying vscode-languageserver

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bundling Extensions - Visual Studio Code
The first reason to bundle your Visual Studio Code extension is to make sure it works for everyone using VS Code on any...
Read more >
Bundling versus debugging in a Visual Studio Code extension
Update yo code and generate a new extension from it. The sample has already been configured to bundle the files so you don't...
Read more >
serverless | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
ChangeLog - ftp
- Update to version 1.40.8: + Fixed a bug that caused devices (MACsec in particular) to be stuck in UNAVAILABLE state and not...
Read more >
Compare Packages Between Distributions - DistroWatch.com
xorg-server (21.1.6), 21.1.6, 1.20.11 ... android-sdk-update-manager 24.4.1 android-studio 2021.3.1.16 android-tools 33.0.3 ... ca-bundle 1.3.1
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found