jekyll serve error

运行jekyllserve时出现如下错误,求解。
D:\GitHub\kanlei.github.com>jekyllserve
Configurationfile:D:/GitHub/kanlei.github.com/_config.yml
Source:D:/GitHub/kanlei.github.com
Destination:D:/GitHub/kanlei.github.com/_site
Generating...
ErrorreadingfileD:/GitHub/kanlei.github.com/_layouts/default.html:Nosuchfi
leordirectory@rb_sysopen-D:/GitHub/kanlei.github.com/GitHub/kanlei.github.
com/_layouts/default.html
ErrorreadingfileD:/GitHub/kanlei.github.com/_layouts/page.html:Nosuchfile
ordirectory@rb_sysopen-D:/GitHub/kanlei.github.com/GitHub/kanlei.github.com
/_layouts/page.html
ErrorreadingfileD:/GitHub/kanlei.github.com/_layouts/post.html:Nosuchfile
ordirectory@rb_sysopen-D:/GitHub/kanlei.github.com/GitHub/kanlei.github.com
/_layouts/post.html
ErrorreadingfileD:/GitHub/kanlei.github.com/_posts/core-samples/2011-12-29-je
kyll-introduction.md:Nosuchfileordirectory@rb_sysopen-D:/GitHub/kanlei.
github.com/GitHub/kanlei.github.com/_posts/core-samples/2011-12-29-jekyll-introd
uction.md
操作系统:windows8.1
Jekyllversion:jekyll2.5.0
gem-v:2.2.2
萧十郎
浏览 388回答 2
2回答

慕码人8056858

已找到解决方法:gemuninstalljekyllgeminstalljekyll-v2.4.0最新的Jekyll版本兼容问题。

开心每一天1111

更好的解决办法是不要在windows上用jekyll。曾经在windows为了跑起jekyll,在各处翻查资料,大概搞定都花了2个小时。换了台笔记本根本不想搞第二遍,再后来换了台mac以后,组建jekyll的运行环境只花了2分钟。不得不说,开发除了windows系的东西,真心Linux/OSX会好用很多。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript