【问题标题】:I get the error The Cloud Foundry CLI isn't installed in the IBM Cloud CLI我收到错误 The Cloud Foundry CLI is not installed in the IBM Cloud CLI
【发布时间】:2020-10-14 21:47:54
【问题描述】:

我决定将我的脚本托管在 IBM Cloud 服务上。之前没用过这个服务。 我正在使用 Windows 进行聚合。我按照网站上的说明一步一步完成了所有工作。

登录到我的 IBM Cloud 帐户并选择 API 端点。

$ ibmcloud login

以 Cloud Foundry 组织和空间为目标:

$ ibmcloud target --cf

但是在第三步。当需要从 get-start-python 目录将我的应用程序提交到 IBM Cloud 时,运行命令时出现错误:

$ ibmcloud cf push

错误:

$ ibmcloud cf push
Invoking 'cf push'...

FAILED
The Cloud Foundry CLI isn't installed in the IBM Cloud CLI. Use 'D:\work\IBM_Cloud_CLI\ibmcloud.exe cf install' to install it.

我使用 OS Windows 7 并通过“ibmcloud”控制台启动,但我不知道我没有安装什么?

【问题讨论】:

    标签: ibm-cloud cloud-foundry


    【解决方案1】:

    使用最新版本的 IBM Cloud CLI(命令行界面)不再捆绑 Cloud Foundry CLI。首次使用前需要安装。

    命令是:ibmcloud cf install

    这是您的问题:

    $ ibmcloud cf push
    Invoking 'cf push'...
    
    FAILED
    The Cloud Foundry CLI isn't installed in the IBM Cloud CLI. Use 'D:\work\IBM_Cloud_CLI\ibmcloud.exe cf install' to install it.
    

    您是否在上面看到它指示您调用安装命令...?来吧:)

    【讨论】:

    • 我使用您指定的命令安装了“cf”。一切都很成功!但是现在我收到了这个错误:没有组织目标,使用'cf.exe target -o ORG'来定位一个组织。失败
    • 请对此答案投赞成票并将其标记为已回答。然后创建一个新问题 - 这有助于找到相关答案。在您的情况下,我将首先从 ibmcloud target --cf 开始以交互方式设置目标
    猜你喜欢
    • 1970-01-01
    • 2021-07-15
    • 2021-03-24
    • 2020-11-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多