Edinburgh
标签
hexo
字数
556 字
阅读时间
3 分钟
提交相关文章md页面不起作用
ERROR Process failed: _posts/AGIRL.md TypeError: Cannot read properties of null (reading 'utcOffset') at timezone (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\hexo@7.3.0_chokidar@3.6.0\node_modules\hexo\dist\plugins\processor\common.js:56:63) at C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\hexo@7.3.0_chokidar@3.6.0\node_modules\hexo\dist\plugins\processor\post.js:75:51 at tryCatcher (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:544:35) at Promise._settlePromise (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:604:18) at Promise._settlePromise0 (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:649:10) at Promise._settlePromises (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:729:18) at Promise._fulfill (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:673:18) at PromiseArray._resolve (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:127:19) at PromiseArray._promiseFulfilled (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:145:14) at PromiseArray._iterate (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:115:31) at PromiseArray.init [as _init] (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:79:10) at Promise._settlePromise (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:601:21) at Promise._settlePromise0 (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:649:10) at Promise._settlePromises (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:729:18) at Promise._fulfill (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:673:18) at PromiseArray._resolve (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:127:19) at PromiseArray._promiseFulfilled (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:145:14) at Promise._settlePromise (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:609:26) at Promise._settlePromise0 (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:649:10) at Promise._settlePromises (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:729:18) at _drainQueueStep (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\async.js:93:12) at _drainQueue (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\async.js:86:9) at Async._drainQueues (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\async.js:102:5) at Async.drainQueues [as _onImmediate] (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\async.js:15:14) at process.processImmediate (node:internal/timers:483:21) ERROR Process failed: _posts/a-girl.md TypeError: Cannot read properties of null (reading 'utcOffset') at timezone (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\hexo@7.3.0_chokidar@3.6.0\node_modules\hexo\dist\plugins\processor\common.js:56:63) at C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\hexo@7.3.0_chokidar@3.6.0\node_modules\hexo\dist\plugins\processor\post.js:75:51 at tryCatcher (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:544:35) at Promise._settlePromise (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:604:18) at Promise._settlePromise0 (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:649:10) at Promise._settlePromises (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:729:18) at Promise._fulfill (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:673:18) at PromiseArray._resolve (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:127:19) at PromiseArray._promiseFulfilled (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:145:14) at PromiseArray._iterate (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:115:31) at PromiseArray.init [as _init] (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:79:10) at Promise._settlePromise (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:601:21) at Promise._settlePromise0 (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:649:10) at Promise._settlePromises (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:729:18) at Promise._fulfill (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:673:18) at PromiseArray._resolve (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:127:19) at PromiseArray._promiseFulfilled (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:145:14) at Promise._settlePromise (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:609:26) at Promise._settlePromise0 (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:649:10) at Promise._settlePromises (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:729:18) at _drainQueueStep (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\async.js:93:12) at _drainQueue (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\async.js:86:9) at Async._drainQueues (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\async.js:102:5) at Async.drainQueues [as _onImmediate] (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\async.js:15:14) at process.processImmediate (node:internal/timers:483:21) ERROR Process failed: about/index.md TypeError: Cannot read properties of null (reading 'utcOffset') at timezone (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\hexo@7.3.0_chokidar@3.6.0\node_modules\hexo\dist\plugins\processor\common.js:56:63) at C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\hexo@7.3.0_chokidar@3.6.0\node_modules\hexo\dist\plugins\processor\asset.js:38:51 at tryCatcher (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:544:35) at Promise._settlePromise (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:604:18) at Promise._settlePromise0 (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:649:10) at Promise._settlePromises (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:729:18) at Promise._fulfill (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:673:18) at PromiseArray._resolve (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:127:19) at PromiseArray._promiseFulfilled (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:145:14) at PromiseArray._iterate (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:115:31) at PromiseArray.init [as _init] (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:79:10) at Promise._settlePromise (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:601:21) at Promise._settlePromise0 (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:649:10) at Promise._settlePromises (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:729:18) at Promise._fulfill (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:673:18) at PromiseArray._resolve (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:127:19) at PromiseArray._promiseFulfilled (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise_array.js:145:14) at Promise._settlePromise (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:609:26) at Promise._settlePromise0 (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:649:10) at Promise._settlePromises (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\promise.js:729:18) at _drainQueueStep (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\async.js:93:12) at _drainQueue (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\async.js:86:9) at Async._drainQueues (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\async.js:102:5) at Async.drainQueues [as _onImmediate] (C:\Users\a1356\source\repos\xialio\hexoBlogFile\node_modules\.pnpm\bluebird@3.7.2\node_modules\bluebird\js\release\async.js:15:14) at process.processImmediate (node:internal/timers:483:21)什么问题
修改复制
从您提供的错误信息来看,主要问题是 `Cannot read properties of null (reading 'utcOffset')` 。这通常意味着在代码执行过程中,试图访问一个为 `null` 的对象的 `utcOffset` 属性。
可能的原因有以下几种:
1. 相关的数据在某个环节没有正确初始化或获取,导致其为 `null` 。
2. 代码中的逻辑错误,导致在不应该的地方尝试访问了这个可能为空的对象的属性。
要解决这个问题,您可能需要仔细检查涉及到这个对象和属性的代码部分,确认数据的获取和处理是否正确。例如,检查相关的数据来源,确认是否存在异常情况导致数据为空。或者查看相关的逻辑,是否在对象可能为空的情况下进行了属性访问。