Mintplex-Labs / anything-llm

The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, and more.
https://anythingllm.com
MIT License
26.54k stars 2.65k forks source link

[BUG]: The system operates in a Docker environment (there are no issues in the Windows development environment), but when I click the copy button, it does not copy successfully #1509

Closed huicewang closed 5 months ago

huicewang commented 5 months ago

How are you running AnythingLLM?

Docker (remote machine)

What happened?

The system operates in a Docker environment (there are no issues in the Windows development environment), but when I click the copy button, it does not copy successfully, and there is an error message in the console as follows: Uncaught TypeError: Cannot read properties of undefined (reading 'writeText') at s (index-86a57767.js:68:115) at Object.sh (index-86a57767.js:37:9855) at ch (index-86a57767.js:37:10009) at dh (index-86a57767.js:37:10066) at Wu (index-86a57767.js:37:31459) at Lf (index-86a57767.js:37:31876) at index-86a57767.js:37:36789 at Fs (index-86a57767.js:40:36880) at Yd (index-86a57767.js:37:8991) at Ea (index-86a57767.js:37:33163)

image

Are there known steps to reproduce?

No response

timothycarambat commented 5 months ago

Browser does not have clipboard support and/or Docker URL is on insecure HTTP connection and is prevented from being used https://github.com/Mintplex-Labs/anything-llm/issues/1136