question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows `yarn create redwood app` fails when username has a space in it

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
axtsczcommented, Mar 19, 2020
node -v
v12.13.0

yarn -v
1.22.4
1reaction
axtsczcommented, Mar 19, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found