2

按照默认说明安装 MoonMail 时出现此错误。安装指南似乎已过时。您对如何解决这个问题有任何想法吗?

Serverless: WARNING: This variable is not defined: sendCampaignTopicARN  
Serverless: WARNING: This variable is not defined: sendEmailsTopicARN  
Serverless: WARNING: This variable is not defined: sentEmailsTopicARN  
Serverless: WARNING: This variable is not defined: projectBucket  
/Users/michael/.node/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:61
        fn = function () { throw arg; };
                           ^

ServerlessError: ServerlessError: An error occurred while provisioning your cloudformation: The following resource(s) failed to create: [AttachSenderTopic, PrecompileCampaignTopic, SentEmailsTable, SendCampaignTopic, PrecompileEmailTopic, AttachRecipientsTopic, ClicksStream, SentEmailsTopic, CampaignsTable, TemplatesTable, FreeUsersSendEmailQueue, UsersTable, IamRoleLambda, AttachListRecipientsTopic, StaticDataBucket, UnsubscribedRecipientTopic, LinksTable, UpdateListImportStatusTopic, EmailAdminsTopic, ListsTable, EmailNotificationsTopic, AttachRecipientsCountTopic, OpensStream, UpdateCampaignTopic, SendEmailsTopic, RecipientsImportS3Bucket, ReportsTable].
4

1 回答 1

1

为了部署项目,您必须在适当的s-variables-*.json文件中定义所有这些变量。此外,问题可能出在其他地方。我建议您访问 CloudFormation Web 控制台并检查 MoonMail 堆栈的事件历史记录,与无服务器 CLI 相比,它提供了更多信息和更好地理解错误原因。

于 2016-12-01T10:57:18.547 回答