Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Web Module]Pull the latest web code, no changes, compiles directly, an error occurs. #2045

Open
2 of 15 tasks
Hec-gitHub opened this issue Sep 27, 2024 · 0 comments
Open
2 of 15 tasks
Labels
bug Something isn't working Waiting for reply

Comments

@Hec-gitHub
Copy link
Contributor

Hec-gitHub commented Sep 27, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

3.10

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

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)

  • 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].

What you expected to happen

Compilation ended normally.

How to reproduce

  1. Pull the latest web code.
  2. cd web Project Directory
  3. Execute "yarn install"
  4. Execute "yarn compile"

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@Hec-gitHub Hec-gitHub added bug Something isn't working Waiting for reply labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply
Projects
None yet
Development

No branches or pull requests

1 participant