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

Unable to start new project #2652

Closed
MuhammadyusufEngineer opened this issue Nov 24, 2024 · 1 comment
Closed

Unable to start new project #2652

MuhammadyusufEngineer opened this issue Nov 24, 2024 · 1 comment

Comments

@MuhammadyusufEngineer
Copy link

What is the location of your example repository?

https://github.com/MuhammadyusufEngineer/reflectrefineregenerate

Which package or tool is having this issue?

Hydrogen

What version of that package or tool are you using?

@shopify/hydrogen@latest || 2024.10.0

What version of Remix are you using?

No response

Steps to Reproduce

  1. npm create @shopify/hydrogen@latest

? Connect to Shopify:
✔ Use sample data from mock.shop (You can connect a Shopify account later)

? Where would you like to create your storefront?
✔ hydrogen-storefront

? Select a language:
✔ TypeScript

? Select a styling library:
✔ Tailwind (v4 alpha)

? Install dependencies with npm?
✔ Yes

✔ Yes

✔ Yes

╭─ success ────────────────────────────────────────────────────────────────╮✔ Yes

╭─ success ────────────────────────────────────────────────────────────────╮╭─ success ────────────────────────────────────────────────────────────────╮│ ││ ││ hydrogen-storefront is ready to build. ││ ││ │╰──────────────────────────────────────────────────────────────────────────╯

? Do you want to scaffold routes and core functionality?
✔ Yes, set up now

? Select a URL structure to support multiple markets:
✔ Set up later (run h2 setup markets)

╭─ success ────────────────────────────────────────────────────────────────╮
│ │
│ Storefront setup complete!

Run cd hydrogen-storefront && npm run dev

Expected Behavior

Work properly after npm run dev

Actual Behavior

Development not starting, throwing error.

here's error log:

$ cd hydrogen-storefront/ && npm run dev

[email protected] dev
shopify hydrogen dev --codegen

warn Route discovery/manifest behavior is changing in React Router v7
┃ You can use the v3_lazyRouteDiscovery future flag to opt-in early.
┃ -> https://remix.run/docs/en/2.13.1/start/future-flags#v3_lazyRouteDiscovery

warn Data fetching is changing to a single fetch in React Router v7
┃ You can use the v3_singleFetch future flag to opt-in early.
┃ -> https://remix.run/docs/en/2.13.1/start/future-flags#v3_singleFetch

Environment variables injected into MiniOxygen:

SESSION_SECRET from local .env

➜ Local: http://localhost:3000/
➜ Network: use --host to expose
➜ press h + enter to show help

╭─ success ────────────────────────────────────────────────────────────────╮
│ │
│ View Hydrogen app: http://localhost:3000/ [1] │
│ │
│ View GraphiQL API browser: │
http://localhost:3000/graphiql
│ │
│ View server network requests: │
http://localhost:3000/subrequest-profiler
│ │
╰──────────────────────────────────────────────────────────────────────────╯
[1] http://localhost:3000/

MiniOxygen: Error during evaluation: MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
at Miniflare2.#assembleAndUpdateConfig (D:\Programming\hydrogen-storefront\node_modules\miniflare\src\index.ts:1404:10)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at Mutex.runWith (D:\Programming\hydrogen-storefront\node_modules\miniflare\src\workers\shared\sync.ts:66:45) {
code: 'ERR_RUNTIME_FAILURE',
cause: undefined
}
MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
at Miniflare2.#assembleAndUpdateConfig (D:\Programming\hydrogen-storefront\node_modules\miniflare\src\index.ts:1404:10)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at Mutex.runWith (D:\Programming\hydrogen-storefront\node_modules\miniflare\src\workers\shared\sync.ts:66:45)

@MuhammadyusufEngineer
Copy link
Author

MuhammadyusufEngineer commented Nov 25, 2024

Updated Microsoft Visual studio C++ redistributable
Solved

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

1 participant