合格的台风:如果输入 hexo d 出现以下错误:
fatal: unable to auto-detect email address (got 'z@DESKTOP-DPE3A08.(none)')
error: src refspec HEAD does not match any
error: failed to push some refs to 'https://github.com/seekwhale13/seekwhale13.ithub.io.git'可以先键入:
git config --global user.email "你的邮箱"
git config --global user.name "你的gihub名字"
例如:
git config --global user.email "6464654@163.com"
git config --global user.name "ha1357"
o沐月o:感谢作者大大!已经弄好博客并发布一篇文章啦
okookokk:是看过的B站上讲的最新也是最全最好最通俗易懂的。[鸡腿][鸡腿][鸡腿]
Ramon的频道:hexo init 过后,提示
Failed to install dependencies. Please run 'npm install' in "D:\blog" folder.
然后我就运行了npm install
结果报了一堆错,好像是权限不够,但是git bash here好像不能以管理员权限运行?这该怎么解决呀[tv_笑哭],百度上没找到办法...
显示如下:
code EPERM
...
(此处省略了很多)
...
The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
希望有人能帮帮我[哭泣]