You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
- info Linting
- info Collecting page data ..Error [ERR_REQUIRE_ESM]: require() of ES Module G:\DB-GPT_7\web\node_modules\@antv\g2-extension-plot\node_modules\d3-hierarchy\src\index.js from G:\DB-GPT_7\web\node_modules\@antv\g2-extension-plot\lib\utils\hierarchy\partition.js not supported.
Instead change the require of index.js in G:\DB-GPT_7\web\node_modules\@antv\g2-extension-plot\lib\utils\hierarchy\partition.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (G:\DB-GPT_7\web\node_modules\@antv\g2-extension-plot\lib\utils\hierarchy\partition.js:27:34) {
code: 'ERR_REQUIRE_ESM'
}
> Build error occurred
Error: Failed to collect page data for /construct/knowledge/chunk
at G:\DB-GPT_7\web\node_modules\next\dist\build\utils.js:1161:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
type: 'Error'
}
What you expected to happen
构建成功
How to reproduce
拉取git,打开./web,运行 NODE_OPTIONS=--max_old_space_size=8192 next build
Additional context
No response
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Search before asking
Operating system information
Windows
Python version information
DB-GPT version
latest release
Related scenes
Installation Information
Installation From Source
Docker Installation
Docker Compose Installation
Cluster Installation
AutoDL Image
Other
Device information
gpu:L40
Models information
deepseek-r1-1.5b
What happened
拉取源码后使用package.json中的配置构建web前端,构建失败:
What you expected to happen
构建成功
How to reproduce
拉取git,打开./web,运行 NODE_OPTIONS=--max_old_space_size=8192 next build
Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: