hexo builds a blog on Github, but hexo d has no response
PHPz
PHPz 2017-05-02 09:49:06
0
4
1671

There is no problem with the SSH connection, but neither hexo g nor hexo d responds

Solved. Did I install something missing or something?

PHPz
PHPz

学习是最好的投资!

reply all(4)
某草草

Your deploy doesn’t respond either,

It is recommended to directly check whether hexo is installed successfully

hexo -V //注意V是大写

If it doesn’t work, reinstall it again

npm install -g hexo

If the directory is wrong, it will not be executed

My directory does not have projects from init. You need to execute the command in the init project directory

Check if the path is correct

漂亮男人

I feel like hexo is not installed. Why do the commands in your screenshot only have three commands? Normally it should be as shown below:

PHPzhong

The command should be run in the root directory of your blog, not in the user directory.

Initialization needs to be runnpm install Install dependencies.

npm install hexo-cli -g
hexo init blog
cd blog
npm install
hexo server
Ty80

Solved. Everything is deployed.
The first question should be about the directory. It needs to be in the blog directory, but I still go to cmd and reinstall it and then come over. I don't know if there is a problem with the installation in git.
The second problem is that when building a warehouse, it must be the same as the user name. After that, I just entered the connection point in the setting and it was fine. It was wrong before I typed it. I don’t know why, embarrassing.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template