<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Hexo on Wenhan blog</title>
    <link>https://wenhan.blog/zh/tags/hexo/</link>
    <description>Recent content in Hexo on Wenhan blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Fri, 21 Apr 2017 00:56:19 +0000</lastBuildDate><atom:link href="https://wenhan.blog/zh/tags/hexo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>修复 hexo 报错 &#39;./build/Release/DTraceProviderBindings&#39;</title>
      <link>https://wenhan.blog/zh/posts/20170421_fix-hexo-error-output-build-release-dtraceproviderbindings/</link>
      <pubDate>Fri, 21 Apr 2017 00:56:19 +0000</pubDate>
      
      <guid>https://wenhan.blog/zh/posts/20170421_fix-hexo-error-output-build-release-dtraceproviderbindings/</guid>
      <description>每次运行 hexo 命令时都会出现一个烦人的报错：
1 Error: Cannot find module &amp;#39;./build/Release/DTraceProviderBindings&amp;#39; 这只是一个追踪错误，不会影响实际操作，但实在太吵了，我很想去掉它。
参考以下链接： https://github.com/hexojs/hexo/issues/1922 https://github.com/yarnpkg/yarn/issues/1915
发现根本原因是 dtrace-provider 包。 而我根本用不到它，所以只想卸载掉。
1 npm uninstall dtrace-provider -g 但由于这个包和 hexo 有关联，实际上不会被移除…… 你可以用下面的命令看到它依然存在：
1 npm list | grep dtrace 那就清理环境，把 hexo-cli 和 dtrace-provider 都卸载掉。
注意：必须用 sudo 执行命令 1 2 sudo npm uninstall hexo-cli -g sudo npm uninstall dtrace-provider -g 然后用 &amp;ndash;no-optional 选项重新安装 hexo-cli，确认 dtrace-provider 没有被装上。
注意：必须用 sudo 执行命令 1 sudo npm install hexo-cli --no-optional -g 终于，世界又安静了:)</description>
    </item>
    
    <item>
      <title>安装 Hexo</title>
      <link>https://wenhan.blog/zh/posts/20161024_install-of-hexo/</link>
      <pubDate>Mon, 24 Oct 2016 23:15:49 +0000</pubDate>
      
      <guid>https://wenhan.blog/zh/posts/20161024_install-of-hexo/</guid>
      <description>参考了这里的 URL，设置了 Hexo 博客。 https://liginc.co.jp/web/programming/server/104594
安装过程中出现了如下错误：
1 2 % hexo deploy ERROR Deployer not found: github 参考 https://github.com/hexojs/hexo/issues/1040 解决了。
1 % npm install hexo-deployer-git --save _config.yml 的 type 也要改成 git
1 2 deploy: type: git 还得学习 Markdown 语法……要做的事情真多~</description>
    </item>
    
  </channel>
</rss>
