【问题标题】:Deploying an Meteor app with mup - error: no configs found for meteor使用 mup 部署 Meteor 应用程序 - 错误:找不到流星的配置
【发布时间】:2016-11-15 08:17:22
【问题描述】:

我一直在尝试将流星应用程序部署到 Digital Ocean。我已经像这样配置了 mup.js:

module.exports = {
  servers: {
    one: {
      host: '[droplet ip address]',
      username: '[username]',
      password: '[password]'
    }
  },

  // Install MongoDB on the server. Does not destroy the local MongoDB on future setups
  "setupMongo": true,

  // WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
  "setupNode": true,

  // WARNING: nodeVersion defaults to 0.10.36 if omitted. Do not use v, just the version number.
  "nodeVersion": "0.10.36",

  // Install PhantomJS on the server
  "setupPhantom": true,

  // Application name (no spaces).
  "appName": "pichaprint",

  // Location of app (local directory). This can reference '~' as the users home directory.
  // i.e., "app": "~/Meteor/my-app",
  // This is the same as the line below.
  "app": ".",

  // Configure environment
  // ROOT_URL must be set to https://YOURDOMAIN.com when using the spiderable package & force SSL
  // your NGINX proxy or Cloudflare. When using just Meteor on SSL without spiderable this is not necessary
  "env": {
    "PORT": 80,
    "ROOT_URL": "http://pichaprint.com",
  },

  "deployCheckWaitTime": 15
};

当我尝试运行 mup setup 时,我收到以下错误: error: no configs found for meteor

我目前正在使用 PuTTY 进行实时工作,并且我在包含 mup.js 文件的流星项目文件夹中(这就是应用程序属性值是句点的原因)。我可能做错了什么?

【问题讨论】:

    标签: meteor digital-ocean meteor-up


    【解决方案1】:

    事实证明,即使我通过输入mup init 初始化了mup,它实际上并没有生成mup.json。所以我必须通过输入以下命令手动创建它:cat > mup.json 在我的项目文件夹的根目录中

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-06-18
      • 2017-08-05
      • 1970-01-01
      • 2015-11-01
      • 2018-08-11
      • 1970-01-01
      • 2018-07-18
      相关资源
      最近更新 更多