keystone
keystone copied to clipboard
The yarn create keystone-app does not work with username which have spaces in windows environment.
- Just have username which have spaces in windows platform
- Install yarn using node for that user
- Then run
yarn create keystone-app
and it will fail
I expected to get a keystone app built using yarn cli
node version 16.13.1 yarn version 1.22.17 create keystone app 6.0.1
Thanks for taking the time to report this @Sapython, we'll take a look!
Hey @Sapython,
I can confirm this is an issue, It looks like this is a pretty common error across a number of projects in the community that hasn't been solved yet, here are a few references:
- https://github.com/yarnpkg/yarn/issues/6630
- https://stackoverflow.com/questions/54379046/yarn-gives-error-when-creating-react-application
- https://github.com/facebook/create-react-app/issues/6512
The best workaround is using the create command outside of a folder with spaces, the last link goes into detail of editing the registry but that looks a bit extreme. Sorry we can't fix this specific issue at this time!
@Sapython found an alternative. Use npm create keystone-app
or npx create-keystone-app
and it will function as expected, seems the issue is specific to yarn
.
Re-opening to make case for change in starter instructions.
Was the issue with yarn ever resolved? I'm currently trying to use the instructions for yarn create keystone-app
, but I'm getting an error message saying yarn failed to install, then switches to npm.
node version 17.8.0
yarn version 1.22.17
[email protected]
Was the issue with yarn ever resolved? I'm currently trying to use the instructions for
yarn create keystone-app
, but I'm getting an error message saying yarn failed to install, then switches to npm.node version 17.8.0 yarn version 1.22.17 [email protected]
Same shіt