Cannot find module 'graphql/tsutils/Maybe'
See original GitHub issueI updated grapql-binding
to v2.3.1 and this error appears.
The changelog says, that there was an upgrade to graphql@14, but I can’t figure out, what I’ve got to do to fix this error.
ERROR in node_modules/graphql-binding/dist/codegen/FlowGenerator.d.ts(3,19): error TS2307: Cannot find module ‘graphql/tsutils/Maybe’.
The graphql
-dependency of my project is at v 14.0.2.
Thanks in advance Carsten
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
nestjs - Cannot find module 'graphql/tsutils/Maybe' or its ...
I found solution my graphql version dont matching with @types/graphql ... Seems that graphql/tsutils/Maybe.d.ts is removed with the graphql ...
Read more >8.2 updates (!12) · Merge requests
build/node_modules/graphql/tsutils/Maybe.d.ts . ... build/node_modules/graphql/polyfills/find.js.flow . ... build/node_modules/ajv/lib/dot/missing.def .
Read more >error: cannot find module 'graphql/language/parser' - You.com
This issue is comes when you use import gql from 'graphql-tag'.Honestly I don't know why graphql-tag not working in snack.expo.io, however it is...
Read more >Open Source Used In Socio 1.0 - Cisco
This document contains licenses and notices for open source software used in this product.
Read more >NOTICE.pdf - NetApp Cloud Central
This product does not necessarily use all the software components referred to ... @apollo-model/graphql 14.5 ... @babel/helper-module-trans forms 7.10.1.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jacobpgn thank you for reproduction; I was able to find the issue in no time! The problem emerged due to missing
@types/graphql
in your project.I internalised
Maybe
type to prevent such issue from happening. Let me know if you still experience the bug! 🙂Hey there! I’m seeing this too – tiny repro at https://github.com/jacobpgn/graphql-binding-176, the
tsc
build is what’s blowing up.