运行# Get the AWS CloudFormation resource
cfn_bucket = bucket.node.default_child
# Use dot notation to address inside the resource template fragment
cfn_bucket.add_override("Properties.VersioningConfiguration.Status", "NewStatus")
cfn_bucket.add_deletion_override("Properties.VersioningConfiguration.Status")
# add_property_override is a convenience function, which implies the
# path starts with "Properties."
cfn_bucket.add_property_override("VersioningConfiguration.Status", "NewStatus")
cfn_bucket.add_property_deletion_override("VersioningConfiguration.Status")
命令时,控制台日志中出现以下错误。
bundle exec jekyll
在那之后,我可以去我的本地主机:4000,这是我从事该proyect的地方,但是我的风格出现了一种奇怪的行为。具有[2020-01-29 15:34:01] ERROR Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:16
/Users/aeum3893/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/webrick/httpserver.rb:82:in `eof?'
/Users/aeum3893/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/webrick/httpserver.rb:82:in `run'
/Users/aeum3893/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
[2020-01-29 15:34:01] ERROR Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:17
/Users/aeum3893/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/webrick/httpserver.rb:82:in `eof?'
/Users/aeum3893/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/webrick/httpserver.rb:82:in `run'
/Users/aeum3893/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
效果的图像不起作用,或导航栏中的其他类型的怪异现象,依此类推。
这是一个使用SiteLeaf作为CMS并与AWS一起部署的网页。
非常感谢您的帮助...谢谢。
答案 0 :(得分:0)
运行bundle exec jekyll s
会删除这些消息,但是我也很想知道为什么只运行jekyll s
命令会导致这种情况。
重新加载网站后重新构建网站时,这些消息是一致的。
答案 1 :(得分:0)
这似乎是在升级 Jekyll 版本之后发生的,其中包含来自先前构建的 .jekyll-cache
和/或 _site
目录。
修复很简单,只需删除这两个目录并重新启动 Jekyll。