【问题标题】:install node.js using gcloud on Google Compute Engine在 Google Compute Engine 上使用 gcloud 安装 node.js
【发布时间】:2014-09-05 07:12:23
【问题描述】:

我需要使用 https://developers.google.com/deployment-manager/nodejs 安装 node.js。

当我使用 gcloud 创建模板时,我得到了

"message": "用户没有项目的写权限 XYZ 项目名称。”

我在 API 和 AUTH 下尝试了 Google Cloud Deployment Manager API,但一次又一次地收到相同的消息。

已为项目启用计费。 请让我知道我在这里缺少什么..

问候, 沙申克

【问题讨论】:

    标签: node.js google-compute-engine gcloud google-cloud-console


    【解决方案1】:
    1. 确保您已启用Google cloud Deployment Manager,请注意,此功能目前处于有限预览阶段,因此您需要先请求访问该服务才能使用它。
    2. 您还需要启用command-line-tool
    3. 运行脚本 google-cloud-sdk/install.sh,使用“gcloud auth login”进行身份验证,并使用“gcloud config set project PROJECT-ID”配置您的项目,并使用“gcloud config set project PROJECT-”启用预览功能身份证'

    身份验证过程将帮助您解决与权限相关的问题。

    【讨论】:

      【解决方案2】:

      您可以在此处找到有关如何在 Google Compute Engine Services 上使用 gcloud 设置 nodejs 的非常详细的教程:

      https://developers.google.com/deployment-manager/commandline-tool https://developers.google.com/deployment-manager/nodejs

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2014-12-13
        • 2015-10-04
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-07-24
        • 2015-12-09
        相关资源
        最近更新 更多