New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting the following error whenever I am trying to execute any cf command. #1199
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/150122849 The labels on this github issue will be updated when the story is started. |
Please delete your $HOME/.cf/config.json and target your endpoint & log in again ( |
Thanks for the response.. @dkoper |
What platform are you on? |
I am working on Windows-7 64-bit. I also tried re-installing cloudfoundary, still the can't see the folder |
What do |
I am in c:\users\you\ directory dir %HOME%.cf dir %HOMEDRIVE%%HOMEPATH%.cf Directory of C:\Users\212612243.cf 08/10/2017 10:21 AM 0 config.json |
Do a |
This works :) |
Your config file got truncated to 0 bytes, causing the CLI to fail to read it's contents (an empty file is not valid JSON). We've seen the file getting truncated in a number of timing related circumstances:
Glad to hear you got it working again! Regards, |
FYI, we have made the window for this issue to occur much smaller in cf CLI 6.29.1. Thanks again for the report. Cheers, |
works in Command Prompt not in Powershell i believe. I ended up rewriting Register HOMEPATH, HOMESHARE variables to sort out Active Directory... |
←[31;1mFAILED←[0m
Error read/writing config: unexpected end of JSON input
The text was updated successfully, but these errors were encountered: