Skip to content

Troubleshooting

graju256 edited this page Sep 16, 2024 · 5 revisions

'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/graphman@1.3.8 --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.

Clone this wiki locally