Error read/writing config: unexpected end of JSON input

280 阅读1分钟

image

check this url: cloudfoundry/cli#1071

By default, config.json is located in your ~/.cf directory. The CF_HOME environment variable allows you to locate the config.json file wherever you like.

image

after set environment issue is resolved:
image

Resolve it by create CF_HOME environment var