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

space in global bin location #7623

Open
burtek opened this issue Oct 17, 2019 · 3 comments
Open

space in global bin location #7623

burtek opened this issue Oct 17, 2019 · 3 comments

Comments

@burtek
Copy link

burtek commented Oct 17, 2019

Do you want to request a feature or report a bug?
bug

What is the current behavior?
After update to 1.19.1 yarn stopped working due space in my user name. Running yarn create react-app my-app --typescript fails now.

[4/4] Building fresh packages...
success Installed "create-react-app@3.2.0" with binaries:
      - create-react-app
'C:\Users\FirstName' is not recognized as an internal or external command,
operable program or batch file.
error Command failed.
Exit code: 1
Command: C:\Users\FirstName LastName\AppData\Local\Yarn\bin\create-react-app
Arguments: stickyroll-poc --typescript
Directory: S:\PoCs
Output:

If the current behavior is a bug, please provide the steps to reproduce.
yarn create react-app my-app --typescript

What is the expected behavior?
It should work correctly as it did before update

Please mention your node.js, yarn and operating system version.
yarn: 1.19.1
node: 10.15.3
os: win10x64

@burtek
Copy link
Author

burtek commented Oct 17, 2019

After yarn config set prefix S:\yarn and again yarn create react-app my-app --typescript got "The File name, directory name, or volume label syntax is incorrect."

@burtek
Copy link
Author

burtek commented Oct 17, 2019

Edit: That must be something with windows update - reverted to 1.17.3 and the same issue exists :(

@cpopeDudley
Copy link

cpopeDudley commented Nov 18, 2019

Not sure if you are still having this issue @burtek, but I ran cmd as administrator and that allowed me to run yarn create react-app my-app --typescript.

Edit - My suggestion is a workaround and I agree that the root issue should be addressed so your bug report is totally valid in my opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants