Skip to content

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

Closed

Description

@korneevnicolas

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Google Chrome 130.0.6723.70
  • Local OS: Windows 10 Pro
  • Remote OS: Ubuntu 22.04.5 LTS
  • Remote Architecture: amd64
  • code-server --version: v4.94.2-rc.1

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?

  • I am using a secure context.

Notes

No response

Activity

  1. added
    bugSomething isn't working
    triageThis issue needs to be triaged by a maintainer
    on Oct 29, 2024
  2. code-asher commented on Oct 29, 2024

    @code-asher
    Member

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

  3. self-assigned this
    on Oct 29, 2024
  4. removed
    triageThis issue needs to be triaged by a maintainer
    on Oct 29, 2024
  5. added a commit that references this issue on Oct 31, 2024
    b8ef4e3
  6. linked a pull request that will close this issueUpdate VS Code 1.95 #7059on Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions