-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
The web search functionality in Chat UI is failing due to a missing Playwright browser executable. The error log indicates that Playwright is unable to find the required Chromium headless shell.
I tried running npx playwright install but still it is not wokring
2025-04-03T18:40:58.7375653Z {"level":50,"time":1743705658729,"pid":1129,"hostname":"verachat-u-156fe741","err":{"type":"Error","message":"browserType.launch: Executable doesn't exist at /root/.cache/ms-playwright/chromium_headless_shell-1161/chrome-linux/headless_shell\n╔═════════════════════════════════════════════════════════════════════════╗\n║ Looks like Playwright Test or Playwright was just installed or updated. ║\n║ Please run the following command to download new browsers: ║\n║ ║\n║ npx playwright install ║\n║ ║\n║ <3 Playwright Team ║\n╚═════════════════════════════════════════════════════════════════════════╝","stack":"browserType.launch: Executable doesn't exist at /root/.cache/ms-playwright/chromium_headless_shell-1161/chrome-linux/headless_shell\n╔═════════════════════════════════════════════════════════════════════════╗\n║ Looks like Playwright Test or Playwright was just installed or updated. ║\n║ Please run the following command to download new browsers: ║\n║ ║\n║ npx playwright install ║\n║ ║\n║ <3 Playwright Team ║\n╚═════════════════════════════════════════════════════════════════════════╝\n at getBrowser (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:373:34)\n at getPlaywrightCtx (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:383:24)\n at withPage (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:405:21)\n at scrapeUrl (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:1097:10)\n at /home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:1084:24\n at mergeAsyncGenerators (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:1224:11)\n at runWebSearch (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:1259:36)\n at textGenerationWithoutTitle (/home/site/wwwroot/build/server/chunks/_server.ts-46f346ab.js:478:30)\n at mergeAsyncGenerators (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:1235:13)\n at async textGeneration (/home/site/wwwroot/build/server/chunks/_server.ts-46f346ab.js:463:3)\n at async Object.start (/home/site/wwwroot/build/server/chunks/_server.ts-46f346ab.js:787:26)","name":"Error"},"msg":"Error scraping webpage: https://www.epochconverter.com/daynumbers"} 2025-04-03T18:40:58.7759902Z {"level":50,"time":1743705658735,"pid":1129,"hostname":"verachat-u-156fe741","err":{"type":"Error","message":"browserType.launch: Executable doesn't exist at /root/.cache/ms-playwright/chromium_headless_shell-1161/chrome-linux/headless_shell\n╔═════════════════════════════════════════════════════════════════════════╗\n║ Looks like Playwright Test or Playwright was just installed or updated. ║\n║ Please run the following command to download new browsers: ║\n║ ║\n║ npx playwright install ║\n║ ║\n║ <3 Playwright Team ║\n╚═════════════════════════════════════════════════════════════════════════╝","stack":"browserType.launch: Executable doesn't exist at /root/.cache/ms-playwright/chromium_headless_shell-1161/chrome-linux/headless_shell\n╔═════════════════════════════════════════════════════════════════════════╗\n║ Looks like Playwright Test or Playwright was just installed or updated. ║\n║ Please run the following command to download new browsers: ║\n║ ║\n║ npx playwright install ║\n║ ║\n║ <3 Playwright Team ║\n╚═════════════════════════════════════════════════════════════════════════╝\n at getBrowser (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:373:34)\n at getPlaywrightCtx (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:383:24)\n at withPage (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:405:21)\n at scrapeUrl (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:1097:10)\n at /home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:1084:24\n at mergeAsyncGenerators (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:1224:11)\n at runWebSearch (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:1259:36)\n at textGenerationWithoutTitle (/home/site/wwwroot/build/server/chunks/_server.ts-46f346ab.js:478:30)\n at mergeAsyncGenerators (/home/site/wwwroot/build/server/chunks/index3-2d370cd8.js:1235:13)\n at async textGeneration (/home/site/wwwroot/build/server/chunks/_server.ts-46f346ab.js:463:3)\n at async Object.start (/home/site/wwwroot/build/server/chunks/_server.ts-46f346ab.js:787:26)","name":"Error"},"msg":"Error scraping webpage: http://todaysdate365.com/"}