-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find a declaration file for module 'graphql-upload' #2092
Comments
I have nothing helpful to add, but we have the same issue when we tried to re-deploy our server just now. |
Temp solution until they have fixed it: declare module 'graphql-upload' { |
Depending on your compiler settings, you might need:
otherwise, you get this:
|
This is happening in version 2.1.0 too. And breaks all compilation in the code for this version that uses typescript. The package graphql-upload disappears from the npm. |
Thanks for reporting this! Please give @apoloa This particular error is certainly something new and reproducible which I wasn't seeing before. That said, sharing the specific error could be helpful because |
@abernix v2.3.1 fixes the issue. Thanks! |
@abernix I will check which are the specific version that npm downloads. |
@onehorsetown |
https://drag13.io/posts/custom-typings/index.html Depending on how your code is organized, you may need to tweak your |
Using apollo-server-express v2.3.0 in a Typescript project produces the following error due to missing typings for the graphql-upload module.
The text was updated successfully, but these errors were encountered: