INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git INFO Install dependencies warning ..\package.json: No license field warning hexo > warehouse > cuid@2.1.8: Cuid and other k-sortable and non-cryptographic ids (Ulid, ObjectId, KSUID, all UUIDs) are all insecure. Use @paralleldrive/cuid2 instead. warning hexo-renderer-stylus > stylus > glob@7.2.3: Glob versions prior to v9 are no longer supported warning hexo-renderer-stylus > stylus > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. INFO Start blogging with Hexo!
进入blog-demo ,输入npm i安装相关依赖:
1 2
cd blog-demo //进入blog-demo文件夹 npm i
如果成功会出现以下内容:
1 2 3 4 5 6
changed 16 packages, and audited 228 packages in 3s
32 packages are looking for funding run `npm fund` for details
INFO Validating config INFO Deleted database. INFO Validating config INFO Start processing INFO Files loaded in 103 ms INFO Generated: archives/index.html INFO Generated: archives/2025/index.html INFO Generated: archives/2025/03/index.html INFO Generated: index.html INFO Generated: fancybox/jquery.fancybox.min.js INFO Generated: css/style.css INFO Generated: js/script.js INFO Generated: fancybox/jquery.fancybox.min.css INFO Generated: js/jquery-3.6.4.min.js INFO Generated: css/images/banner.jpg INFO Generated: 2025/03/24/hello-world/index.html INFO 11 files generated in 313 ms INFO Validating config INFO Deploying: git INFO Setting up Git deployment... Initialized empty Git repository in D:/sxiaohe/sxiaohe/blog-demo/.deploy_git/.git/ [master (root-commit) 61e96f4] First commit 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 placeholder INFO Clearing .deploy_git folder... INFO Copying files from public folder... INFO Copying files from extend dirs... warning: in the working copy of '2025/03/24/hello-world/index.html', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'archives/2025/03/index.html', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'archives/2025/index.html', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'archives/index.html', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'css/style.css', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'fancybox/jquery.fancybox.min.js', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'index.html', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'js/jquery-3.6.4.min.js', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'js/script.js', LF will be replaced by CRLF the next time Git touches it [master 7b5f7ea] Site updated: 2025-03-24 21:01:33 12 files changed, 2475 insertions(+) create mode 100644 2025/03/24/hello-world/index.html create mode 100644 archives/2025/03/index.html create mode 100644 archives/2025/index.html create mode 100644 archives/index.html create mode 100644 css/images/banner.jpg create mode 100644 css/style.css create mode 100644 fancybox/jquery.fancybox.min.css create mode 100644 fancybox/jquery.fancybox.min.js create mode 100644 index.html create mode 100644 js/jquery-3.6.4.min.js create mode 100644 js/script.js delete mode 100644 placeholder Enumerating objects: 27, done. Counting objects: 100% (27/27), done. Delta compression using up to 16 threads Compressing objects: 100% (19/19), done. Writing objects: 100% (27/27), 278.04 KiB | 11.58 MiB/s, done. Total 27 (delta 4), reused 0 (delta 0), pack-reused 0 (from 0) remote: Resolving deltas: 100% (4/4), done. To https://github.com/661111/ACTION.git + ac892ea...7b5f7ea HEAD -> main (forced update) branch 'master'set up to track 'https://github.com/661111/ACTION.git/main'. INFO Deploy done: git