Hexo

Hexo Documentation

Published
On this page
  1. How to Hexo?
  2. Official Documentation
  3. Some good-looking themes
  4. Some interesting Blog
  5. Multiple workspace/device
  6. Pinned article on Top
  7. Full Tutorial
  8. Add Mini Game to Hexo
  9. Possible to encounter: Errors and solutions

I wrote this in 2023 for the old version of this site, which ran on Hexo. It runs on Astro now, so these steps may no longer apply.

How to Hexo?

Official Documentation

  • Hexo
  • Next - a theme from Hexo, the one I am using

Some good-looking themes

Some interesting Blog

Multiple workspace/device

Pinned article on Top

Full Tutorial

Add Mini Game to Hexo

Possible to encounter: Errors and solutions

  • Error EPERM: Error when copying files from extend dirs:
bash
←[32mINFO ←[39m Copying files from extend dirs...
←[41mFATAL←[49m Something's wrong. Maybe you can find the solution here: ←[4mhttps://hexo.io/docs/troubleshooting.html←[24m
←[33mError: EPERM: operation not permitted, copyfile 'C:\repos\jacklee981229.github.io\.git\objects\e6\9de29bb2d1d6434b8b29ae775ad8c2e48c5391' -> 'C:\repos\jacklee981229.github.io\.deploy_git\.git\objects\e6\9de29bb2d1d6434b8b29ae775ad8c2e48c5391'←[39m

Solution : try delete “.git” folder!

  • Error ENOTEMPTY: Error when clearing “.deploy_git” folder
bash
INFO  Deploying: git
INFO  Clearing .deploy_git folder...
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html
Error: ENOTEMPTY: directory not empty, rmdir 'C:\repos\jacklee981229.github.io\.deploy_git\themes'

Solution : try delete “.deploy_git” folder!

NOTE: All the mentioned errors seems to be occur when you try to upload hexo blog into github but in new branch. I worked on this by refering to this article, but seems to be missing out some of the steps.

Check these too!

More posts from Jack's Space.

Jack Lee

Senior Software Engineer at Squarebox Technology

14 posts 5 topics 10 tags

Running for
1,335 days
Visitors
–
Last update
13 Oct 2026