Update to support graphql@14.x
JustFly1984 opened this issue · 5 comments
npm WARN babel-plugin-import-graphql@2.6.2 requires a peer of graphql@>=0.9.6 but none is installed. You must install peer dependencies yourself.
I'm using your plugin with aws-amplify and gatsby.js. Both of them require graphql at least 0.13.0, and some of the gatsby plugins require 14.1.1
There shouldn't be any issue installing whatever version of graphql you'd like. I installed the newest version in the screenshot above and got no warnings. Make sure you have actually installed the graphql package, because the warning may be indicating that it is not installed at all.
@detrohutt Well, the thing is I can't install qraphql as direct dependency to my project, cos gatsby.js
asks to do not install it separate.