berry icon indicating copy to clipboard operation
berry copied to clipboard

[Bug?]: Spaces in Windows username causes yarn create to fail

Open Miladiir opened this issue 3 years ago • 0 comments

Self-service

  • [ ] I'd be willing to implement a fix

Describe the bug

see https://github.com/yarnpkg/yarn/issues/6630

To reproduce

see https://github.com/yarnpkg/yarn/issues/6630

  1. Install Windows, e.g. 10 or 11
  2. Create a user with a space in the name
  3. Try to use yarn for anything, e.g. yarn create vite
  4. Boom

Environment

yarn dlx -q envinfo --preset jest fails for me aswell. It's a windows machine. My username contains a space, which is perfectly fine for npm, npx etc.

Additional context

No response

Miladiir avatar Aug 25 '22 19:08 Miladiir