hexo g执行时报错TypeError: Cannot read properties of undefined (reading 'plugins') #862
-
Node.js and NPM InformationPackage dependencies Information在这之前都可以正常部署,不知道是动了什么文件或是什么问题 |
Beta Was this translation helpful? Give feedback.
Answered by
mountainmist1
Dec 22, 2024
Replies: 3 comments 9 replies
-
|
可能是主题配置里面的 Lines 908 to 921 in 77adbf5 你可以检查一下你本地的版本是不是改过 |
Beta Was this translation helpful? Give feedback.
9 replies
-
|
重复了该问题,也是把备份配置文件放在其他目录就可以了 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hexo这边应该已经修复了: hexojs/hexo#5591 可以更新看看 |
Beta Was this translation helpful? Give feedback.
0 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备份之后,报错就重新出现了