Hk-Gosuto / ChatGPT-Next-Web-LangChain

一键拥有你自己的 ChatGPT 网页服务。 One-Click to deploy your own ChatGPT web UI.(基于 langchain 实现的插件版本 Plugin version implemented based on langchain)

Home Page:https://n3xt.chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] 当前项目拉取后,docker build失败

QYlichuyou opened this issue · comments

Bug Description

报错为:
220.3 ./app/components/chat.tsx:1280:52
220.3 Type error: Property 'clipboardData' does not exist on type 'Window & typeof globalThis'. Did you mean 'Clipboard'?
220.3
220.3 1278 | return;
220.3 1279 | }
220.3 > 1280 | const items = (event.clipboardData || window.clipboardData).items;
220.3 | ^
220.3 1281 | for (const item of items) {
220.3 1282 | if (item.kind === "file" && item.type.startsWith("image/")) {
220.3 1283 | event.preventDefault();

询问GPT亦未能找到解决方法

Steps to Reproduce

git clone https://github.com/Hk-Gosuto/ChatGPT-Next-Web-LangChain.git
cd ChatGPT-Next-Web-LangChain
docker build -f Dockerfile -t bigbugger/chatgpt-next-web:1.0 .

Expected Behavior

jobs done

Screenshots

No response

Deployment Method

  • Docker
  • Vercel
  • Server

Desktop OS

ubuntu20.04

Desktop Browser

No response

Desktop Browser Version

No response

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] After the current project is pulled, docker build fails

没能复现该问题,请尝试更新最新代码和 docker 后重新编译
image

Bot detected the issue body's language is not English, translate it automatically.


If the problem cannot be reproduced, please try to update the latest code and docker and recompile.
image