This is windows10
1. Hexo installation is slow
Solution:
npm install hexo-cli -g cnpm --registry=https://registry.npm.taobao.org
2. Hexo: Unable to load file
Three, hexo init failed
At the beginning, input hexo init
, report the error in the picture above,
and then input cnpm install
,
Just enter hexo init
it again
参考: Failed to install dependencies. Please run ‘npm install’ manually!
Four, configuration _config.yml file error
Translate the wrong sentence, it is about the space
error. Reason 1 : In the configuration of the last section, add a space after the English colon :, as shown in the figure below.
Reason 2: Don’t write :wq
it, I use Notepad directly Modify the configuration without writing:wq
Five, deployment to github error, because there is no git-bash configuration user name, email, password (the email password here, the user name must be the same as your github)
For details, see: git configuration global user name and password
6. Hexo theme download is very slow
It will be much faster to download the theme installation package directly on github and unzip it to the theme folder.