Title
s

Sam Jackson

05/26/2018, 7:11 PM
Has anyone gotten the below error when running
graphql get-schema --project database
warning command prepare both exists in plugin <project-path>/node_modules/graphql-cli-prepare and is shipped with the graphql-cli.
The plugin is being ignored.
⠋ (node:30922) ExperimentalWarning: The fs.promises API is experimental
⚠ Boxed Error: {"response":{"errors":[{"message":"Boxed Error","requestId":"us1:api:cjhnrro7ar4ed0b62pgb6uw6w"}],"status":500},"request":{"query":"\n    query IntrospectionQuery {\n      __schema {\n        queryType { name }\n        mutationType { name }\n        subscriptionType { name }\n        types {\n          ...FullType\n        }\n        directives {\n          name\n          description\n          locations\n          args {\n            ...InputValue\n          }\n        }\n      }\n    }\n\n    fragment FullType on __Type {\n      kind\n      name\n      description\n      fields(includeDeprecated: true) {\n        name\n        description\n        args {\n          ...InputValue\n        }\n        type {\n          ...TypeRef\n        }\n        isDeprecated\n        deprecationReason\n      }\n      inputFields {\n        ...InputValue\n      }\n      interfaces {\n        ...TypeRef\n      }\n      enumValues(includeDeprecated: true) {\n        name\n        description\n        isDeprecated\n        deprecationReason\n      }\n      possibleTypes {\n        ...TypeRef\n      }\n    }\n\n    fragment InputValue on __InputValue {\n      name\n      description\n      type { ...TypeRef }\n      defaultValue\n    }\n\n    fragment TypeRef on __Type {\n      kind\n      name\n      ofType {\n        kind\n        name\n        ofType {\n          kind\n          name\n          ofType {\n            kind\n            name\n            ofType {\n              kind\n              name\n              ofType {\n                kind\n                name\n                ofType {\n                  kind\n                  name\n                  ofType {\n                    kind\n                    name\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  "}}
Note: this is exactly how it comes out in my console. Would love to see something more useful shown.
a

alechp

05/26/2018, 7:29 PM
I receive the same first warning on every deploy:
warning command prepare both exists in plugin /...path.../node_modules/graphql-cli-prepare and is shipped with the graphql-cli.
The plugin is being ignored.
The fs.promises API is separate. First time I saw this second error you received was in another project. I was using a package with
fs-extra
n

nilan

05/28/2018, 8:53 AM