berry
berry copied to clipboard
[Bug?]: Spaces in Windows username causes yarn create to fail
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
- Install Windows, e.g. 10 or 11
- Create a user with a space in the name
- Try to use yarn for anything, e.g.
yarn create vite - 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