lizhimins commented on PR #767:
URL: https://github.com/apache/rocketmq-site/pull/767#issuecomment-4223612675

   这个构建错误不是我们的修改导致的。这是一个 pre-existing 的 CI 环境问题:
   
   原因:Docusaurus 2.4.3 内部使用了 webpack 的 ProgressPlugin,传入了 
name、color、reporters、reporter 等选项,但 CI 环境中的 webpack 版本(webpack 5 的新版本 
schema-utils)已经不再接受这些属性,导致 ValidationError。
   
   关键证据:
   
   错误发生在 ProgressPlugin.js:228,这是 docusaurus 内部的 webpack 配置
   我们的修改只是添加了一个 markdown 文件和更新版本号,不涉及任何 webpack 配置
   错误信息明确是 ValidationError,不是内容错误
   这个构建问题在任何一次 commit 上都会复现,是 docusaurus 版本与 webpack 版本的兼容性问题,需要升级 Docusaurus 
或锁定 webpack 版本才能解决。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to