Closed iml885203 closed 1 year ago
You can leave delivery
option empty:
-delivery: false
+delivery:
It doesn't work, I got another error.
ERROR Plugin load failed: hexo-optimize
TypeError: Cannot read properties of null (reading 'length')
at /Users/logan/Logan/blog-source/node_modules/hexo-optimize/index.js:41:27
at /Users/logan/Logan/blog-source/node_modules/hexo/lib/hexo/index.js:305:14
at tryCatcher (/Users/logan/Logan/blog-source/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/logan/Logan/blog-source/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/Users/logan/Logan/blog-source/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/Users/logan/Logan/blog-source/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/Users/logan/Logan/blog-source/node_modules/bluebird/js/release/promise.js:729:18)
at _drainQueueStep (/Users/logan/Logan/blog-source/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/Users/logan/Logan/blog-source/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/Users/logan/Logan/blog-source/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/logan/Logan/blog-source/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (node:internal/timers:466:21)
Ok, you can try to remove this line completely, it should work now
-delivery: false
It worked. Thanks for your help.
I got this error when upgrading hexo-optimize to ^3.2.0.
config: