Predix_Logo
  • Categories
    • Questions
    • Predix | Updates
      • Pricing
      • Product
    • Deloitte - Private
    • How-To
    • Accenture-Private
  • Explore
    • Topics
    • Questions
    • Articles
    • Feedback or Feature Requests
  • Sign in
  • Home /
  • Questions /
avatar image
0
Question by Nisarg · Jan 10, 2018 at 07:56 PM · cloud-foundry-cli

CloudFoundry Error

alt text

I downloaded the source code.zip file from here https://github.com/cloudfoundry/cli/releases then extracted the files and installed it. Then I have added the file path in user variables environment of where the file was installed, i.e. poiting to cf.exe file. Afterwards, when I type in the commad "cf --version", I am getting the following error.

capture.png (4.1 kB)
Comment
Add comment
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
1
Best Answer

Answer by Siva Balan · Jan 11, 2018 at 09:26 AM

It looks like your home directory is set to H:\ and this network drive was not available for CF CLI when it started up. Can you make sure if H:\ is mapped and is writable? If it is not writable, can you change your defualt home directory to somewhere in C:\ or a local drive where it is writable?

Comment
Add comment · Show 4 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Nisarg · Jan 11, 2018 at 09:34 PM 0
Share

I am not entirely sure how to do that. Could you please help me with the instructions for it? I would like to set it up at C:\\Users...

avatar image Siva Balan ♦ Nisarg · Jan 12, 2018 at 09:08 AM 0
Share

Can you provide the output of SET command from your command line?

avatar image Nisarg Siva Balan ♦ · Jan 12, 2018 at 10:23 PM 0
Share

HOMEDRIVE=C: HOMEPATH=\Users\100483567

That's what I have currently set. Currently I am unable to access the H:\\ drive, but when I did, I remember having cli.JSON file in it for some reason and when I tried downloading CLI again, I never saw that .json file in my C:\\

avatar image Nisarg Siva Balan ♦ · Jan 12, 2018 at 10:38 PM 0
Share

alt text

Nevermind, everything seems to be working fine. But this is so weird because I haven't done anything to it since yesterday.

capture.png (24.3 kB)

Follow this Question

Answers Answers and Comments

84 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Tip: deploying to CF after macOS Sierra update 2 Answers

Error: Failed to migrate app to Diego 1 Answer

Getting an error when trying to download droplet for any app 2 Answers

Manifest.yml Error Pushing Predix Data Exchange app 2 Answers

cf create-user failed 1 Answer

GE Monogram
  • Legal
  • Cookies
  • Forum Terms
  • Contact Us
  • Copyright © 2017 General Electric Company. All rights reserved.


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Submit your feedback or feature request
  • Categories
  • Questions
  • Predix | Updates
    • Pricing
    • Product
  • Deloitte - Private
  • How-To
  • Accenture-Private
  • Explore
  • Topics
  • Questions
  • Articles
  • Feedback or Feature Requests