coder / code-server

VS Code in the browser
https://coder.com
MIT License
68.34k stars 5.6k forks source link

Dynamic require error with --stdin-to-clipboard in v4.94.2-rc.1 #7056

Open korneevnicolas opened 3 days ago

korneevnicolas commented 3 days ago

Is there an existing issue for this?

OS/Web Information

Steps to Reproduce

  1. Open integrated terminal
  2. Run the following command to send text to the clipboard: echo "hello" | code-server --stdin-to-clipboard

Expected

Text should be sent to clipboard

Actual

The terminal displays the following error: Dynamic require of "fs" is not supported

Logs

No response

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

This cannot be tested in native VS Code

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?

Notes

No response

code-asher commented 2 days ago

Thanks for catching this! Will definitely fix before we release.