[BUG] Tutorial instructions do not work w Yarn 3
cyberwombat opened this issue · comments
Describe the bug
I am following instructions here https://shopify.dev/custom-storefronts/hydrogen/getting-started/tutorial/begin
To Reproduce
Using Yarn 3.2.4
yarn create @shopify/hydrogen --template hello-world --ts
It asks me for the project name, seems to complete correctly but the end result is a completely empty directory. I have searched all folders on my laptop for one with project name but nothing seems to be created anywhere.
I then added a .yarnrc.yml
file in project directory with:
nodeLinker: node-modules
But same result (or lack of).
Expected behavior
I would expect some sample code to be in the folder so that I can do the next step cd <app-directory>
.
Installing w npm
works as expected.
- Hydrogen version: N/A
- Node version: 18
- Device details: MacOS Ventura 13.2
Additionally after installing w npm it will still not work unless nodeLinker: node-modules
in .yarnrc.yml.
And... the tsconfig is invalid - vite/client
is not correct for yarn. I changed it to vite
and errors went away - not sure if correct though.
And am getting GitHub workflow errors in the mail
[Shopify/hydrogen] Add issues to project workflow run: Add issues to project: All jobs have failed