labring / FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
https://tryfastgpt.ai
Other
17.48k stars 4.69k forks source link

私有化运行报错 #1030

Closed ykmail9 closed 7 months ago

ykmail9 commented 7 months ago

例行检查

你的版本 node -v v21.7.1 pnpm -v 8.15.5

问题描述 根据私有化部署,完成后执行pnpm dev报错,报错内容如截图。 安装部署步骤都已按照正常步骤执行,未报错。

复现步骤

预期结果

相关截图 erver Error ReferenceError: window is not defined

This error happened while generating the page. Any console logs will be displayed in the terminal window. Call Stack detect file:///home/legion/fastgpt/node_modules/.pnpm/echarts@5.4.1/node_modules/echarts/dist/echarts.js (123:54)

file:///home/legion/fastgpt/node_modules/.pnpm/echarts@5.4.1/node_modules/echarts/dist/echarts.js (97:9) file:///home/legion/fastgpt/node_modules/.pnpm/echarts@5.4.1/node_modules/echarts/dist/echarts.js (22:68) Object. file:///home/legion/fastgpt/node_modules/.pnpm/echarts@5.4.1/node_modules/echarts/dist/echarts.js (25:2) Module._compile node:internal/modules/cjs/loader (1368:14) Module._extensions..js node:internal/modules/cjs/loader (1426:10) Module.load node:internal/modules/cjs/loader (1205:32) Module._load node:internal/modules/cjs/loader (1021:12) Module.require node:internal/modules/cjs/loader (1230:19) mod.require file:///home/legion/fastgpt/node_modules/.pnpm/next@13.5.2_@babel+core@7.24.0_react-dom@18.2.0_react@18.2.0_sass@1.58.3/node_modules/next/dist/server/require-hook.js (64:28) require node:internal/modules/helpers (179:18) Object.echarts file:///home/legion/fastgpt/projects/app/.next/server/pages/login.js (691:18) __webpack_require__ file:///home/legion/fastgpt/projects/app/.next/server/webpack-runtime.js (33:42) eval webpack-internal:///./src/components/Markdown/img/EChartsCodeBlock.tsx (10:65) __webpack_require__.a file:///home/legion/fastgpt/projects/app/.next/server/webpack-runtime.js (97:13)
ykmail9 commented 7 months ago

今天可以启动了,但是没法进系统 1234和123456两个默认密码都试了 Operation users.findOne() buffering timed out after 10000ms

c121914yu commented 7 months ago

数据库问题查其他issue或文档 https://doc.fastai.site/docs/development/faq/#operation-auth_codesfindone-buffering-timed-out-after-10000ms

princeGoo commented 5 months ago

请问这个问题有人解决了吗?Operation users.findOne() buffering timed out after 10000ms

yiwaixiao commented 4 months ago

请问这个问题有人解决了吗?Operation users.findOne() buffering timed out after 10000ms

问题解决了吗 ?