Troubleshooting - Layer7-Community/graphman-client GitHub Wiki

'graphman' is not recognized as an internal or external command

Most likely, you might have installed the older client (<=1.3.1) that requires external CLI wrapper for use. Or, client is not installed with --global option.

Usually, npm-install from registry should install the latest available release. We've been working on fixing this sync problem. Till then, please specify the latest available release explicitly to install the client.

Example:

npm install @layer7/[email protected] --global --registry https://packages.broadcom.com/artifactory/api/npm/layer7-npm

Validation error of type FieldUndefined: Field 'xxx' in type 'Query' is undefined @ 'yyy'

GraphQL schema mismatch between client and server (targeting gateway) leads to these kind of errors.

  • Make sure, you are connecting to the intended gateway using --gateway CLI parameter.
  • And, specify the compatible schema using --options.schema CLI parameter.

Please refer the Compatibility Matrix section.