cli icon indicating copy to clipboard operation
cli copied to clipboard

CF V6 installer is not working after installation

Open nitindhotre opened this issue 12 years ago • 5 comments

Hi Team,

I am using Windows 7(64) operating system. It got installed.. but I can not see it in installed programs of operating system. It is creating CloudFoundry folder under Program Files(X86) and inside of this folder cf.exe file is there.. when i am trying to run it.. it just gives prompt for fraction of seconds and gets closed.

Please help me.

nitindhotre avatar Feb 26 '14 07:02 nitindhotre

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: http://www.pivotaltracker.com/story/show/66486604

cf-gitbot avatar Feb 26 '14 07:02 cf-gitbot

We've just talked with the @tjarratt from CLI team, and they're working on the Windows installation processes already. They've agreed to look into this as part of that process.

CF Community Pair (@dsabeti & @thecadams )

dsabeti avatar Feb 26 '14 19:02 dsabeti

Hey @nitindhotre, thanks for filing this bug! We knew that the exe would act this way, but didn't necessarily recognize that it was a problem. We'll have to think about how else we might handle this.

Here's the situation: cf.exe is meant to be run from the command line such as Cmd.exe or Powershell. The way you might use it is like so

  • Click on Start
  • Search for "cmd.exe" or "Powershell" and launch it
  • type cf --help to see help
  • type cf --login to log in and get started

If you run into any other ideas about how we could have done a better job of helping you get started, we'd love to hear about them.

anEXPer avatar Feb 26 '14 20:02 anEXPer

Error read/writing config: unexpected end of JSON input

this is my error how can i solve it

ksujanpaul avatar May 09 '17 15:05 ksujanpaul

Woah. Hey there @ksujanpaul. This is some serious thread necromancy. This issue we're commenting on is from several years ago and seems entirely unrelated to the very serious problem of the cli not being able to read its config file.

It seems to me that you should submit a new github issue for the behavior you're seeing.

Since I'm here and thinking about it though, you may want to try removing the file at ~/.cf/config.json - please note that removing that file WILL log you out of the cli, and remove any notion the cli had about orgs / spaces and even the CF instance you were targeting. The cf cli effectively uses that as a local store for what you are doing with your CF environment. Perhaps it became corrupted as part of some earlier action?

tjarratt avatar May 09 '17 15:05 tjarratt