博客迁移到mac

  1. 将博客项目中除node_modules外的所有文件拷贝到新电脑;
  2. 安装hexo工具npm install hexo-cli -g
  3. 进入项目路径并执行npm install
  4. hexo clean后即可;
  5. hexo g时若出现pandoc exit null,执行brew install pandoc安装pandoc;