-
-
Notifications
You must be signed in to change notification settings - Fork 827
TypeError: (0 , utils_1.promiseReduce)(...).resolve is not a function #7052
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
Comments
Please share a minimal isolated reproduction on CodeSandbox. Thanks! |
I encountered a similar error:
Pinning "@whatwg-node/promise-helpers" to version "1.2.4" fixed the issue for me. |
Thank you @ikemo3 for your response. Yesterday I created a test repository for the issue but I could not reproduce the problem. I took all configurations and also the graphql codes from the original project, but it worked. After a few considerations I checked the pnpm lock file from the original project and realized that it works with a complete installation of the dependencies. But I had no idea why, the changes were to much to find the reason. Now with your answer I can confirm, pinning |
I ran into this issue as well today. As has been mentioned before, pinning promise-helpers to 1.2.4 does fix the issue (I also tried 1.2.5 and it worked as well) but I also realized that I was running an older version of What I suspect is that the changes in this PR: ardatan/whatwg-node#2152 don't play nicely with the code in Would have to do some more spelunking through my dependency graph to verify, but I think the issue could be resolved by updating a caret range in one/more of the graphql-tools repos 🤔 (for me TL;DR |
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
Describe the bug
Since updating from graphql-tools/utils version 10.8.1 to 10.8.6, I have noticed the above-mentioned error with mutations.
It turned out that a downgrade to 10.8.2 works. All versions above this throw the error.
So it could be a change in version 10.8.3 causes this error.
Environment:
The text was updated successfully, but these errors were encountered: