The following error occurred while compiling a web project using yarn compile :
SyntaxError: Unexpected token { in JSON at position 887504
at JSON.parse ()
at patchIncorrectLockfile (/data/git/DB-GPT/web/node_modules/next/dist/lib/patch-incorrect-lockfile.js:93:33)
warn Compiled with warnings
./node_modules/@antv/g2/esm/transform/sample.js
Attempted import error: 'medianIndex' is not exported from 'd3-array' (imported as 'medianIndex').
This error has already been submitted to Issse under item [antvis/G2].
Search before asking
Operating system information
Linux
Python version information
3.10
DB-GPT version
main
Related scenes
Installation Information
[X] Installation From Source
[ ] Docker Installation
[ ] Docker Compose Installation
[ ] Cluster Installation
[ ] AutoDL Image
[ ] Other
Device information
Device:CPU
Models information
LLM:Proxy LLM
What happened
The following error occurred while compiling a web project using yarn compile : SyntaxError: Unexpected token { in JSON at position 887504 at JSON.parse ()
at patchIncorrectLockfile (/data/git/DB-GPT/web/node_modules/next/dist/lib/patch-incorrect-lockfile.js:93:33)
./node_modules/@antv/g2/esm/transform/sample.js Attempted import error: 'medianIndex' is not exported from 'd3-array' (imported as 'medianIndex'). This error has already been submitted to Issse under item [antvis/G2].
What you expected to happen
Compilation ended normally.
How to reproduce
Additional context
No response
Are you willing to submit PR?