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

[BUG] Tutorial instructions do not work w Yarn 3 #2460

Open
cyberwombat opened this issue Jan 28, 2023 · 2 comments
Open

[BUG] Tutorial instructions do not work w Yarn 3 #2460

cyberwombat opened this issue Jan 28, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@cyberwombat
Copy link

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
@cyberwombat cyberwombat added the bug Something isn't working label Jan 28, 2023
@cyberwombat
Copy link
Author

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.

@cyberwombat
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant