There is a problem starting wren-ui with source code
When I choose to start wren-ui from source code, the front-end project responds very slowly
My startup command is npm run dev
Sometimes this error occurs:
[2025-05-16T07:41:24.505] [INFO] PRQ Background Tracker - Recommend question background tracker started
⨯ ReferenceError: Cannot access 'AskingService' before initialization
at Module.AskingService (webpack-internal:///(api)/./src/apollo/server/services/askingService.ts:4:60)
at WEBPACK_REEXPORT_OBJECT.
When I build, an error was reported (my node version is 18.xx): $ npm run build
[email protected] build NODE_OPTIONS=--max-old-space-size=8192 next build
▲ Next.js 14.2.26
- Environments: .env.local
Linting and checking validity of types ..Failed to compile.
./src/utils/errorHandler.tsx:467:48 Type error: Argument of type 'GraphQLFormattedError' is not assignable to parameter of type 'GraphQLError'. Type 'GraphQLFormattedError' is missing the following properties from type 'GraphQLError': nodes, source, positions, originalError, and 3 more.
465 | if (error.graphQLErrors) { 466 | for (const err of error.graphQLErrors) {
467 | errorHandlers.get(operationName)?.handle(err); | ^ 468 | } 469 | } 470 | }; Next.js build worker exited with code: 1 and signal: null
========================================= This is my .env.local file (other configuration files have not changed)
DB_TYPE=sqlite SQLITE_FILE=db.sqlite3 OTHER_SERVICE_USING_DOCKER=true EXPERIMENTAL_ENGINE_RUST_VERSION=false
If you need any information, please let me know