Skip to content

Add missing graphql dependency#2062

Closed
oliversalzburg wants to merge 1 commit intoapollographql:masterfrom
oliversalzburg:fix/dependencies
Closed

Add missing graphql dependency#2062
oliversalzburg wants to merge 1 commit intoapollographql:masterfrom
oliversalzburg:fix/dependencies

Conversation

@oliversalzburg
Copy link
Copy Markdown

Because the dependency is currently not declared, users will see the following error in a yarn2/PnP installation:

(node:4310) [MODULE_NOT_FOUND] Error: @apollographql/apollo-tools tried to access graphql, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

As the error indicates, the module code does import code from graphql, but the module manifest does not declare the dependency. This change fixes that.

@apollo-cla
Copy link
Copy Markdown

@oliversalzburg: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

@merceyz
Copy link
Copy Markdown
Contributor

merceyz commented Aug 6, 2020

Already done in #2049 but it hasn't been merged yet

@oliversalzburg oliversalzburg deleted the fix/dependencies branch August 6, 2020 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants