Just a quick troubleshooting post for anyone using Hexo at the moment. If you go into your Hexo directory and do any Hexo command but recieve something similar to this:
[Error: Module did not self-register.]
Don’t worry - it’s a really quick fix. Courtesy of Tommy351
npm install hexo --no-optional
That will get your Hex instakl back up & running no probs.
If you’re curious and want to know more checkout this issue on Github