Problems encountered in building a personal blog

This is windows10

1. Hexo installation is slow

Insert picture description hereSolution:

npm install hexo-cli -g cnpm --registry=https://registry.npm.taobao.org

2. Hexo: Unable to load file

Solution: ✍Hexo blog build✍ Build a personal blog Hexo frame appears hexo: unable to load file script file solution CSDN

Three, hexo init failed

Insert picture description hereAt the beginning, input hexo init, report the error in the picture above,
and then input cnpm install,
Insert picture description here

Just enter hexo initit again
Insert picture description here

参考: 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.
Insert picture description hereReason 2: Don’t write :wqit, 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.

Guess you like

Origin blog.csdn.net/Caiqiudan/article/details/109910344