Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Missing module and types for node-fetch and ws #319

Unanswered
axhamre asked this question in Q&A
Discussion options

I'm generating clients with the --node flag, and am getting complaints in the generated index.ts about missing modules and typings for node-fetch and ws (see screenshot below).

I've followed the installation instructions in the Gettings started guide and am on version 5.1.7.

CleanShot 2022年07月08日 at 21 54 57@2x

And if/when installing module and types for node-fetch and ws, I'm getting:

Type 'Promise' is not assignable to type 'Promise'.
Type 'unknown' is not assignable to type 'GraphQLResponse'.

CleanShot 2022年07月08日 at 22 14 08@2x

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /