Windows `yarn create redwood app` fails when username has a space in it
See original GitHub issueI ran the yarn create redwood-app ./redwoodblog
from the tutorial and it failed with this error:
success Installed "create-redwood-app@0.2.5" with binaries:
- create-redwood-app
'C:\Users\Fake' is not recognized as an internal or external command,
operable program or batch file.
error Command failed.
Exit code: 1
Command: C:\Users\Fake User\AppData\Local\Yarn\bin\create-redwood-app
Arguments: ./redwoodblog
Directory: D:\Projects\Redwood
Output:
info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this
command.
I’m on Windows 10 and i believe the issue is due to the fact that C:\Users\ folder has a space in it due to my username.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Windows and `yarn create redwood-app` - Get Help and Help ...
There's a known issue when attempting to run yarn create in Windows with a username that has a space in it. The fix...
Read more >Having white spaces in your Windows username fails the ...
It was created approx 4 years ago. Here's a workaround that can be used instead. yarn config set cache-folder c:\root\yarn\cache yarn config ...
Read more >RedwoodJS 1.0 - Learn With Jason
March 17 @ 4:30 PM UTC — RedwoodJS calls itself "the JS app framework for startups" — and ... yarn, space, and RW...
Read more >lqH - River Thames Conditions - Environment Agency - GOV.UK
Joust arcade game app, Abachou mahamat mbodou, 53 bevel gear support, Jan dela craiova ... Capitolio centro de eventos monterrey, 3ds data transfer...
Read more >Help! I put a space in my Windows User Name. Now What?
First I activated the Administrator Account. I needed to do this because you can't modify filenames that are in use. Since the account...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The more I look into this it kind of seems to be a Yarn issue. Here is the related yarn Issue:
https://github.com/yarnpkg/yarn/issues/6630
EDIT: A fix for this is to set a different cache folder:
yarn config set cache-folder D:/YarnCache
yarn config set prefix D:/YarnCache
Sorry for the confusion.