Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bun using the wrong drive #16525

Open
terzhang opened this issue Jan 19, 2025 · 0 comments
Open

Bun using the wrong drive #16525

terzhang opened this issue Jan 19, 2025 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@terzhang
Copy link

What version of Bun is running?

1.1.45

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

  1. Add clipboardy to your project bun add clipboardy
  2. Use it to copy something to your clipboard clipboardy.writeSync('hello world')
  3. Compile it using bun compile ./index.ts --outfile ./dist/app
  4. Run the binary ./dist/app

What is the expected behavior?

It should copy to clipboard without issue. Your clipboard should have 'hello world'.

What do you see instead?

I get the following error:

error: Command failed with exit code 1: B:\~BUN\fallbacks\windows\clipboard_x86_64.exe --copy
The system cannot find the drive specified.
 shortMessage: "Command failed with exit code 1: B:\\~BUN\\fallbacks\\windows\\clipboard_x86_64.exe --copy",
    command: "B:\\~BUN\\fallbacks\\windows\\clipboard_x86_64.exe --copy",
 escapedCommand: "\"B:\\~BUN\\fallbacks\\windows\\clipboard_x86_64.exe\" --copy",
   exitCode: 1,
     signal: undefined,
 signalDescription: undefined,
     stdout: "",
     stderr: "The system cannot find the drive specified.",
        cwd: "C:\\projects\\node\\my-project",
     failed: true,
   timedOut: false,
 isCanceled: false,
     killed: false,

Additional information

No response

@terzhang terzhang added bug Something isn't working needs triage labels Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant