前段build失败

在使用代码方式构建maxkb时,执行npm run build命令时报错,日志如下。

您好,可以参考一下开发环境文档:
https://github.com/1Panel-dev/MaxKB/wiki/开发环境搭建