最近想搞个人博客,我按照segmentfault上几篇关于搭建个人博客的方案,最终选型github+hexo方案,按照hexo官网上的文档一路配置下来,配置到建站这一步的时候出现以下问题
建站的三行我试了enter,shift+enter等许多快捷键,也google了gitbash下的换行方法,搜不到结果,只能一行一行输入,输入的结果如下:
现在就想问下各位:1 gitbash下有没有换行快捷键?
2 上面一行命令行 $npm install -g hexo-cli运行结果中的warning该怎么消除?
Let me tell you, first you need to create a folder (to store all your hexo files, resources, themes, etc.). Secondly, how do you copy that folder? That means you can move it to your folder. The folder is written Your folder path. So the easiest thing is to right-click on the folder you created and select Git Bash Here, and you can skip the cd step. Do you understand?
I also encountered this problem, but it was under Ubuntu. I don’t know if it will also work under your window.
When there is a problem under Ubuntu, use the root user to operate. Just switch to the normal user operation.
So you try to create a new user under mingw, and then switch to that user and try the operation to see if the problem can be solved