OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

let error = new Error(text);

Open wenxiaoyu opened this issue 1 year ago • 0 comments

INFO: Started server process [4379] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://127.0.0.1:3000 (Press CTRL+C to quit) Connection to localhost port 3000 [tcp/hbci] succeeded! Backend started successfully. Starting frontend with npm...

[email protected] start vite --port 3001

VITE v5.2.8 ready in 2312 ms

➜ Local: http://localhost:3001/ ➜ Network: use --host to expose ➜ press h + enter to show help ✘ [ERROR] Unterminated string literal

node_modules/@xterm/xterm/lib/xterm.js.map:1:600558:
  1 │ ...r }>;\n  onRefreshRequest: IEvent<{ start: number, end: number }>;\n\n  dimensions: IRenderDimensions;\n\n  addRefreshCallback(callback: FrameRequestCallback): number;\n\n  refreshRows(start: number, end: number): void;\n  clearTextureAtlas(): void;\n  resiz
    ╵                                                                                                                                                                                                                                                                      ^

The source map "node_modules/@xterm/xterm/lib/xterm.js.map" was referenced by the file "node_modules/@xterm/xterm/lib/xterm.js" here:

node_modules/@xterm/xterm/lib/xterm.js:2:21:
  2 │ //# sourceMappingURL=xterm.js.map
    ╵                      ~~~~~~~~~~~~

/Users/wenxiaoyu/workspace/xiaopeng/code/OpenDevin/frontend/node_modules/esbuild/lib/main.js:1651 let error = new Error(text); ^

Error: Build failed with 1 error: node_modules/@xterm/xterm/lib/xterm.js.map:1:600558: ERROR: Unterminated string literal at failureErrorWithLog (/Users/wenxiaoyu/workspace/xiaopeng/code/OpenDevin/frontend/node_modules/esbuild/lib/main.js:1651:15) at /Users/wenxiaoyu/workspace/xiaopeng/code/OpenDevin/frontend/node_modules/esbuild/lib/main.js:1059:25 at /Users/wenxiaoyu/workspace/xiaopeng/code/OpenDevin/frontend/node_modules/esbuild/lib/main.js:1527:9 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { errors: [Getter/Setter], warnings: [Getter/Setter] }

Node.js v18.17.1 make: *** [run] Error 1

wenxiaoyu avatar Apr 10 '24 10:04 wenxiaoyu