Open barbalex opened 6 years ago
I removed the graphql "resolutions" setting and tried:
When I did not install graphql myself, the installed version was 0.13.2.
Is it possible that some new feature of apollo-link-state depends on graphql > 0.13.2 being installed?
This would be a bit risky seeing that apollo-client only installs v0.13.2 now: https://github.com/apollographql/apollo-client/blob/feb6617466fd144ca063133351e880590673f5ce/package.json#L108
I'm seeing the same error. Updating GraphQL as you show worked.
Same error here too. Same solution worked.
You can use temp solution with a latest graphql. Add resolutions to package.json
"resolutions": { "**/apollo-link-state": "0.4.1" },
This is the error:
This is my package.json file before updating to v0.4.2: https://github.com/barbalex/apf2/blob/4848dc638c5849e6d50282647fb74fd2f165c4d8/package.json
I am using yarn's resolutions feature to prevent problems that occured due to different versions of graphql required in different apollo tools. Maybe enforcing graphql v0.13.2 is causing this?