You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We document the init command but npx shopify hydrogen init doesn't work outside of an existing Hydrogen project:
It would be helpful to be able to use npx directly in the project create flow, because then you could pass flags to init directly, without having to do the double-dash trick:
Not sure if this has worked before. What was working was npx @shopify/cli-hydrogen init, which uses our cli plugin directly as an executable but we shouldn't probably use this directly.
@isaacroldan Do you think we can make npx shopify hydrogen init work and forward flags to npm create?
We document the init command but
npx shopify hydrogen init
doesn't work outside of an existing Hydrogen project:It would be helpful to be able to use npx directly in the project create flow, because then you could pass flags to
init
directly, without having to do the double-dash trick:create
npx
npm create @shopify/hydrogen@latest -- --quickstart
npx shopify hydrogen init --quickstart
The text was updated successfully, but these errors were encountered: