hexo g执行时报错TypeError: Cannot read properties of undefined (reading 'plugins') #862
Answered
by
mountainmist1
mountainmist1
asked this question in
Q&A
-
Node.js and NPM Information
Package dependencies Information
在这之前都可以正常部署,不知道是动了什么文件或是什么问题 |
Beta Was this translation helpful? Give feedback.
Answered by
mountainmist1
Dec 22, 2024
Replies: 1 comment 9 replies
-
可能是主题配置里面的 Lines 908 to 921 in 77adbf5 你可以检查一下你本地的版本是不是改过 |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
当我准备把blog文件备份到另外目录并删除一些无用的文件打包发你时,我再次执行了npx hexo cl && npx hexo g,这次它没有报错了。
我发现是_config.yml_20241219这个备份文件的问题,当我删除它之后,执行hexo g 就没有报错了。
当我重新将/root/blog/themes/next中的_config_yaml备份之后,报错就重新出现了