Hexo 使用中搭建博客过程中遇到的坑
2017-06-11 19:07
197 查看
本地执行
原因:theme 没有下载下来,经查,theme文件夹下为空。
新建文章后,执行
原因: 文章中有不识别的字符:
原文内容中
参考 https://segmentfault.com/q/1010000006685011
hexo s时报错:
WARN No layout: index.html
原因:theme 没有下载下来,经查,theme文件夹下为空。
新建文章后,执行
hexo g时报如下错误:
(node:1172) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated. INFO Start processing FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html Template render error: (unknown path) [Line 21, Column 171] Error: Unable to call `now`, which is undefined or falsey at Object.exports.prettifyError (E:\sharpcj_web\node_modules\_nunjucks@2.5.2@nunjucks\src\lib.js:34:15) at E:\sharpcj_web\node_modules\_nunjucks@2.5.2@nunjucks\src\environment.js:486:31 at new_cls.root [as rootRenderFunc] (eval at _compile (E:\sharpcj_web\node_modules\_nunjucks@2.5.2@nunjucks\src\environment.js:565:24), <anonymous>:18:3) at new_cls.render (E:\sharpcj_web\node_modules\_nunjucks@2.5.2@nunjucks\src\environment.js:479:15) at new_cls.renderString (E:\sharpcj_web\node_modules\_nunjucks@2.5.2@nunjucks\src\environment.js:327:21) at E:\sharpcj_web\node_modules\_hexo@3.3.7@hexo\lib\extend\tag.js:66:9 at Promise._execute (E:\sharpcj_web\node_modules\_bluebird@3.5.0@bluebird\js\release\debuggability.js:300:9) at Promise._resolveFromExecutor (E:\sharpcj_web\node_modules\_bluebird@3.5.0@bluebird\js\release\promise.js:483:18) at new Promise (E:\sharpcj_web\node_modules\_bluebird@3.5.0@bluebird\js\release\promise.js:79:10) at Tag.render (E:\sharpcj_web\node_modules\_hexo@3.3.7@hexo\lib\extend\tag.js:64:10) at Object.tagFilter [as onRenderEnd] (E:\sharpcj_web\node_modules\_hexo@3.3.7@hexo\lib\hexo\post.js:253:16) at E:\sharpcj_web\node_modules\_hexo@3.3.7@hexo\lib\hexo\render.js:65:19 at tryCatcher (E:\sharpcj_web\node_modules\_bluebird@3.5.0@bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (E:\sharpcj_web\node_modules\_bluebird@3.5.0@bluebird\js\release\promise.js:512:31) at Promise._settlePromise (E:\sharpcj_web\node_modules\_bluebird@3.5.0@bluebird\js\release\promise.js:569:18) at Promise._settlePromise0 (E:\sharpcj_web\node_modules\_bluebird@3.5.0@bluebird\js\release\promise.js:614:10) at Promise._settlePromises (E:\sharpcj_web\node_modules\_bluebird@3.5.0@bluebird\js\release\promise.js:693:18) at Async._drainQueue (E:\sharpcj_web\node_modules\_bluebird@3.5.0@bluebird\js\release\async.js:133:16) at Async._drainQueues (E:\sharpcj_web\node_modules\_bluebird@3.5.0@bluebird\js\release\async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (E:\sharpcj_web\node_modules\_bluebird@3.5.0@bluebird\js\release\async.js:17:14) at runCallback (timers.js:800:20) at tryOnImmediate (timers.js:762:5)
原因: 文章中有不识别的字符:
原文内容中
参考 https://segmentfault.com/q/1010000006685011
相关文章推荐
- Hexo 使用中搭建博客过程中遇到的坑
- github+hexo+node.js搭建个人博客基本过程及遇到的问题
- 在Windows下使用Hexo+GithubPage搭建博客的过程
- 使用HEXO+Github搭建独立博客,详细方法以及使用中遇到的错误
- github+hexo+node.js搭建个人博客基本过程及遇到的问题
- 使用Hexo搭建博客,备份至GitHub过程
- 使用wordpress搭建博客过程中遇到的一些问题
- github+hexo+node.js搭建个人博客基本过程及遇到的问题
- 使用Hexo在Github上搭建自己的博客
- 使用node+mongodb搭建简单个人博客——第一章遇到的问题
- 使用github和hexo搭建静态博客
- 使用hexo搭建github.io博客(一)
- 使用hexo搭建自己的博客系统
- 使用 Github Pages 和 Hexo 搭建个人博客
- 使用github和hexo搭建静态博客
- 使用hexo在github上搭建个人博客
- 使用Hexo搭建Github个人静态博客
- 使用GitHub + Hexo搭建个人博客(五)- Ubuntu升级后hexo命令失效
- 使用GitHub + Hexo搭建个人博客(八)- Hexo异常:/usr/bin/env: node: 没有那个文件或目录
- hexo搭建博客发布全过程