E:\BarryFlynn\Github>hexo init Barry-Flynn.github.io INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git [32mINFO [39m Install dependencies added 242 packages from 207 contributors in 105.871s 15 packages are looking for funding run `npm fund` for details INFO Start blogging with Hexo! E:\BarryFlynn\Github>
E:\BarryFlynn\Github\Barry-Flynn.github.io>hexo server INFO Validating config INFO Start processing INFO Hexo is running at http://localhost:4000 . Press Ctrl+C to stop.
server 代表开启本地的 Hexo 服务器,这时你就可以打开浏览器,在地址栏中输入 localhost:4000 就可以看到本地的网页了。
这个网页就是Hexo为你自动生成的博客页面。 按 Ctrl+C 中断服务器的运行, 系统提示 终止批处理操作吗(Y/N)? 输入 Y 然后回车。 至此,基础的模版页面便已经搭建好了。
E:\BarryFlynn\Github\Barry-Flynn.github.io>hexo g INFO Validating config INFO Start processing INFO Files loaded in 209 ms INFO Generated: archives/index.html INFO Generated: archives/2021/index.html INFO Generated: archives/2021/08/index.html (node:20772) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) (node:20772) Warning: Accessing non-existent property 'column' of module exports inside circular dependency (node:20772) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency (node:20772) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency (node:20772) Warning: Accessing non-existent property 'column' of module exports inside circular dependency (node:20772) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency INFO Generated: index.html INFO Generated: fancybox/jquery.fancybox.min.css INFO Generated: js/script.js INFO Generated: 2021/08/25/hello-world/index.html INFO Generated: css/style.css INFO Generated: css/fonts/fontawesome-webfont.woff2 INFO Generated: css/fonts/fontawesome-webfont.woff INFO Generated: fancybox/jquery.fancybox.min.js INFO Generated: css/fonts/fontawesome-webfont.ttf INFO Generated: css/fonts/FontAwesome.otf INFO Generated: css/fonts/fontawesome-webfont.eot INFO Generated: js/jquery-3.4.1.min.js INFO Generated: css/images/banner.jpg INFO Generated: css/fonts/fontawesome-webfont.svg INFO 17 files generated in 1.98 s E:\BarryFlynn\Github\Barry-Flynn.github.io>
E:\BarryFlynn\Github\Barry-Flynn.github.io>hexo deploy INFO Validating config INFO Deploying: git INFO Setting up Git deployment... Initialized empty Git repository in E:/BarryFlynn/Github/Barry-Flynn.github.io/.deploy_git/.git/ Author identity unknown *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got '10272@DESKTOP-N3PNS7C.(none)') FATAL { err: Error: Spawn failed at ChildProcess.<anonymous> (E:\BarryFlynn\Github\Barry-Flynn.github.io\node_modules\hexo-util\lib\spawn.js:51:21) at ChildProcess.emit (events.js:400:28) at ChildProcess.cp.emit (E:\BarryFlynn\Github\Barry-Flynn.github.io\node_modules\cross-spawn\lib\enoent.js:34:29) at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) { code: 128 } } Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html E:\BarryFlynn\Github\Barry-Flynn.github.io>
E:\BarryFlynn\Github\Barry-Flynn.github.io>hexo deploy INFO Validating config INFO Deploying: git INFO Clearing .deploy_git folder... INFO Copying files from public folder... INFO Copying files from extend dirs... warning: LF will be replaced by CRLF in 2021/08/25/hello-world/index.html. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in archives/2021/08/index.html. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in archives/2021/index.html. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in archives/index.html. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in css/fonts/fontawesome-webfont.svg. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in css/style.css. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in fancybox/jquery.fancybox.min.js. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in index.html. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in js/jquery-3.4.1.min.js. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in js/script.js. The file will have its original line endings in your working directory On branch master nothing to commit, working tree clean info: please complete authentication in your browser... Enumerating objects: 31, done. Counting objects: 100% (31/31), done. Delta compression using up to 4 threads Compressing objects: 100% (25/25), done. Writing objects: 100% (31/31), 882.21 KiB | 4.98 MiB/s, done. Total 31 (delta 3), reused 0 (delta 0), pack-reused 0 remote: Resolving deltas: 100% (3/3), done. To https://github.com/Barry-Flynn/Barry-Flynn.github.io + 4b62927...a9fc5f8 HEAD -> main (forced update) Branch 'master' set up to track remote branch 'main' from 'https://github.com/Barry-Flynn/Barry-Flynn.github.io'. [32mINFO [39m Deploy done: [35mgit[39m E:\BarryFlynn\Github\Barry-Flynn.github.io>