Today, I checked out the hexo blog in my new laptop. It threw a fatal error when I tried to hexo deploy it. After trial and error for sometime, I found the quick and easy solution like Try turning it off and on again!
First install the relevant dependencies: (I do deployment to git)
1 | $ npm install hexo-deployer-git --save |
Here comes the universal solution:
1 | $ rm -rf .deploy_git |
Make sure you do not version the
.deploy_gitfolder as it is specific to local environment and setup.