types.d.ts cannot find one of the imports
See original GitHub issueafter installing graphql-yoga and it’s deps, I get this error.
... /node_modules/graphql-yoga/dist/src/types.d.ts (7,37): Cannot find module 'graphql-subscriptions/dist/subscriptions-manager'.
I am using GraphQLServerLambda.
This error also appears on your examples/lambda-typescript/ install.
I checked the node_modules folder, and indeed there is no such module as graphql-subscriptions/dist/subscriptions-manager
to be imported.
It’s not breaking error, but annoying nonetheless 😃
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Cannot find name xxx, while defined in @types/xxx.d.ts #1066
Expected Behavior No import error Actual Behavior vehicle.ts:1:41 - error TS2304: Cannot find name 'Vehicle'. while webpack compiles with no ...
Read more >Typescript: .d.ts file not recognized - Stack Overflow
The application compiles fine. In the IDE, however, I get an error: ts2339: Property 'myCustomGlobal' does not exist on type 'Window'. I ......
Read more >Documentation - Module Resolution - TypeScript
Module resolution is the process the compiler uses to figure out what an import refers to. Consider an import statement like import {...
Read more >TypeScript errors and how to fix them
ts ' cannot be compiled under '–isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export...
Read more >cannot find module or its corresponding type declarations
To solve the "Cannot find module `fs` or its corresponding type declarations" error, install the types for node by running the command `npm...
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
I tested it right now and it works ❤️
This should be fixed in
1.3.4
. Please let us know if this is still a problem.Thanks a lot @akoenig for digging into this. 🙏