Connection reset by xxx.xxx.xxx.xxx port 22 fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. FATAL { err: Error: Spawn failed at ChildProcess.<anonymous> (D:\xx\...\node_modules\hexo-deployer-git\node_modules\hexo-util\lib\spawn.js:51:21) at ChildProcess.emit (events.js:210:5) at ChildProcess.cp.emit (D:\xx\...\node_modules\cross-spawn\lib\enoent.js:34:29) at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) { code: 128 } } Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs s/troubleshooting.html
⚠ unable to verify the first certificate ⚠ optipng pre-build test failed ℹ compiling from source ✖ Error: Command failed: /bin/sh -c ./configure --with-system-zlib --prefix="/home/ym/Documents/gitproject/richardmyu.github.io/node_modules/optipng-bin/vendor" --bindir="/home/ym/Documents/gitproject/richardmyu.github.io/node_modules/optipng-bin/vendor"
Checking for gcc... Using pre-configured libpng... Checking for system zlib... ./configure: error: missing zlib or incorrect zlib version ./configure: note: zlib version 1.2.1 or higher is required
at /home/ym/Documents/gitproject/richardmyu.github.io/node_modules/bin-build/node_modules/execa/index.js:231:11 at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async Promise.all (index 0) > gifsicle@5.1.0 postinstall /home/ym/Documents/gitproject/richardmyu.github.io/node_modules/gifsicle > node lib/install.js
⚠ unable to verify the first certificate ⚠ gifsicle pre-build test failed ℹ compiling from source ✖ Error: Command failed: /bin/sh -c autoreconf -ivf /bin/sh: 1: autoreconf: not found
at /home/ym/Documents/gitproject/richardmyu.github.io/node_modules/bin-build/node_modules/execa/index.js:231:11 at processTicksAndRejections (internal/process/task_queues.js:95:5) at async Promise.all (index 0)
> gifsicle@5.2.1 postinstall /home/ym/Documents/gitProject/richardmyu.github.io/node_modules/gifsicle > node lib/install.js unable to verify the first certificate gifsicle pre-build test failed compiling from source Error: Command failed: /bin/sh -c autoreconf -ivf autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --output=aclocal.m4t Can't exec "aclocal": 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 326. autoreconf: failed to run aclocal: No such file or directory
at /home/ym/Documents/gitProject/richardmyu.github.io/node_modules/bin-build/node_modules/execa/index.js:231:11 at processTicksAndRejections (internal/process/task_queues.js:95:5) at async Promise.all (index 0) > mozjpeg@6.0.1 postinstall /home/ym/Documents/gitProject/richardmyu.github.io/node_modules/mozjpeg > node lib/install.js
⚠ unable to verify the first certificate ⚠ mozjpeg pre-build test failed ℹ compiling from source ✖ RequestError: unable to verify the first certificate at ClientRequest.<anonymous> (/home/ym/Documents/gitProject/richardmyu.github.io/node_modules/got/index.js:111:21) at Object.onceWrapper (events.js:520:26) at ClientRequest.emit (events.js:400:28) at TLSSocket.socketErrorListener (_http_client.js:475:9) at TLSSocket.emit (events.js:400:28) at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:82:21) > optipng-bin@6.0.0 postinstall /home/ym/Documents/gitProject/richardmyu.github.io/node_modules/optipng-bin > node lib/install.js
⚠ unable to verify the first certificate ⚠ optipng pre-build test failed ℹ compiling from source ✖ Error: Command failed: /bin/sh -c ./configure --with-system-zlib --prefix="/home/ym/Documents/gitProject/richardmyu.github.io/node_modules/optipng-bin/vendor" --bindir="/home/ym/Documents/gitProject/richardmyu.github.io/node_modules/optipng-bin/vendor"
Checking for gcc... Using pre-configured libpng... Checking for system zlib... ./configure: error: missing zlib or incorrect zlib version ./configure: note: zlib version 1.2.1 or higher is required
npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN deprecated gulp-minify-css@1.2.4: Please use gulp-clean-css npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated querystring@0.2.0: The npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x. npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest
INFO Start processing FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html TypeError: Cannot read properties of undefined (reading 'enable') at C:\mywork\remote_project\hexo-source\themes\next\scripts\filters\comment\valine.js:11:21 at Filter.execSync (C:\mywork\remote_project\hexo-source\node_modules\hexo\dist\extend\filter.js:72:36) at Hexo.execFilterSync (C:\mywork\remote_project\hexo-source\node_modules\hexo\dist\hexo\index.js:394:35) at module.exports (C:\mywork\remote_project\hexo-source\themes\next\scripts\events\lib\injects.js:58:8) at Hexo.<anonymous> (C:\mywork\remote_project\hexo-source\themes\next\scripts\events\index.js:11:27) at Hexo.tryCatcher (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\util.js:16:23) at Hexo.<anonymous> (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\method.js:15:34) at C:\mywork\remote_project\hexo-source\node_modules\hexo\dist\extend\filter.js:58:67 at tryCatcher (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\util.js:16:23) at Object.gotValue (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\reduce.js:166:18) at Object.gotAccum (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\reduce.js:155:25) at Object.tryCatcher (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\promise.js:547:31) at Promise._settlePromise (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\promise.js:604:18) at Promise._settlePromiseCtx (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\promise.js:641:10) at _drainQueueStep (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\async.js:97:12)
# Allow to cache content generation. cache: enable:true
# Remove unnecessary files after hexo generate. #minify: false minify:true
结果推送时报错了:
NexT version 8.19.0 Documentation: https://theme-next.js.org ======================================== INFO Start processing FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html TypeError: Cannot read properties of null (reading 'style') at Hexo.<anonymous> (C:\mywork\remote_project\hexo-source\themes\next\scripts\filters\minify.js:39:22) at Hexo.tryCatcher (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\util.js:16:23) at Hexo.<anonymous> (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\method.js:15:34) at C:\mywork\remote_project\hexo-source\node_modules\hexo\dist\extend\filter.js:58:67 at tryCatcher (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\util.js:16:23) at Object.gotValue (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\reduce.js:166:18) at Object.gotAccum (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\reduce.js:155:25) at Object.tryCatcher (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\promise.js:547:31) at Promise._settlePromise (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\promise.js:604:18) at Promise._settlePromiseCtx (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\promise.js:641:10) at _drainQueueStep (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\async.js:97:12) at _drainQueue (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\async.js:86:9) at Async._drainQueues (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\async.js:102:5) at Async.drainQueues [as _onImmediate] (C:\mywork\remote_project\hexo-source\node_modules\bluebird\js\release\async.js:15:14) at process.processImmediate (node:internal/timers:483:21) husky - pre-commit hook exited with code 2 (error)